You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TL;DR: rustc will use `rust-lld`by default on `x86_64-unknown-linux-gnu`on stable, starting in 1.90.0, to significantly reduce linking times. Test it out on beta now, and please report issues if you encounter any.
11
+
TL;DR: rustc will start using the LLD linker by default on the `x86_64-unknown-linux-gnu`target starting with the Rust 1.90.0 stable release, which should significantly reduce linking times. Test it out on beta now, and please report any encountered issues.
12
12
13
13
#### Some context
14
14
@@ -38,8 +38,6 @@ Most binaries should see some improvements here, but it's especially significant
38
38
39
39
Here's [a link](https://perf.rust-lang.org/compare.html?start=b3e117044c7f707293edc040edb93e7ec5f7040a&end=baed03c51a68376c1789cc373581eea0daf89967&stat=instructions%3Au&tab=compile) to the complete results from our benchmarks.
40
40
41
-
This testing period did go well indeed, and we can stabilize using this faster linker by default for `x86_64-unknown-linux-gnu` users.
42
-
43
41
#### Possible drawbacks
44
42
45
43
From our prior testing, we don't really expect issues to happen in practice. It is a drop-in replacement for the vast majority of cases, but `lld` is not _bug-for-bug_ compatible with GNU ld.
@@ -52,7 +50,7 @@ Some of the big gains in performance come from parallelism, which could be undes
52
50
53
51
#### Summary, and call for testing
54
52
55
-
rustc will use `rust-lld` on `x86_64-unknown-linux-gnu`, starting with the 1.90.0 stable release, for much improved linking times. This version 1.90.0 will be released next month, on the 18th of September 2025.
53
+
rustc will use `rust-lld` on `x86_64-unknown-linux-gnu`, starting with the 1.90.0 stable release, for much improved linking times. Rust 1.90.0 will be released next month, on the 18th of September 2025.
56
54
57
55
This linker change is already available on the current beta (`1.90.0-beta.6`). To help everyone prepare for this landing on stable, please test your projects on beta and let us know if you encounter problems, by [opening an issue](https://github.com/rust-lang/rust/issues/new/choose) on GitHub.
0 commit comments