Skip to content

Commit 0cefcae

Browse files
committed
move post to main blog
1 parent f47dc09 commit 0cefcae

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

posts/inside-rust/2024-05-01-enabling-rust-lld-on-linux.md renamed to posts/2024-05-01-enabling-rust-lld-on-linux.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
layout: post
33
title: Faster linking times on nightly on linux with `rust-lld`
44
author: Rémy Rakic
5-
team: The compiler performance working group <https://www.rust-lang.org/governance/teams/compiler#team-wg-compiler-performance>
5+
team: the compiler performance working group <https://www.rust-lang.org/governance/teams/compiler#team-wg-compiler-performance>
66
---
77

88
TL;DR: rustc will use `rust-lld` by default on `x86_64-unknown-linux-gnu` on nightly to
@@ -48,7 +48,7 @@ benefit is much improved linking times.
4848
Here are more details from the ripgrep example mentioned above: linking is reduced 7x, resulting in
4949
a 40% reduction in end-to-end compilation times.
5050

51-
![Before/after comparison of a `ripgrep` debug build](../../../../images/inside-rust/2024-05-01-enabling-rust-lld-on-linux/ripgrep-comparison.png)
51+
![Before/after comparison of a `ripgrep` debug build](../../../../images/2024-05-01-enabling-rust-lld-on-linux/ripgrep-comparison.png)
5252

5353
Most binaries should see some improvements here, but it's especially significant with e.g. bigger
5454
binaries, or when involving debuginfo. These usually see bottlenecks in the linker.
@@ -62,7 +62,7 @@ If testing goes well, we can then stabilize using this faster linker by default
6262

6363
#### Possible drawbacks
6464

65-
From our prior testing, we don't really expect issues to happen in practice. it is a drop-in
65+
From our prior testing, we don't really expect issues to happen in practice. It is a drop-in
6666
replacement for the vast majority of cases, but `lld` is not _bug-for-bug_ compatible with GNU ld.
6767

6868
In any case, using `rust-lld` can be disabled if any problem occurs: use the `-Z

0 commit comments

Comments
 (0)