Skip to content

Commit feacb44

Browse files
Update content/Rust-1.90.0.md
Co-authored-by: Jakub Beránek <[email protected]>
1 parent 6e10ebe commit feacb44

File tree

1 file changed

+13
-9
lines changed

1 file changed

+13
-9
lines changed

content/Rust-1.90.0.md

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,19 @@ If you'd like to help us out by testing future releases, you might consider upda
2222

2323
## What's in 1.90.0 stable
2424

25-
### `lld` by default on `x86_64-unknown-linux-gnu`
26-
27-
As [previously announced](https://blog.rust-lang.org/2025/09/01/rust-lld-on-1.90.0-stable/),
28-
1.90 brings a change in the default linker to `lld` on
29-
`x86_64-unknown-linux-gnu`. As discussed in that blog, for the vast majority of
30-
users this change should just be a compile time reduction. In some edge cases,
31-
`lld` may have different behavior: please file
32-
[issues](https://github.com/rust-lang/rust/issues/new/choose) if you run into
33-
problems as part of the migration.
25+
# LLD is now the default linker on `x86_64-unknown-linux-gnu`
26+
27+
The `x86_64-unknown-linux-gnu` target will now use the LLD linker for linking Rust crates by default. This should result in improved linking performance vs the default Linux linker (BFD), particularly for large binaries, binaries with a lot of debug information, and for incremental rebuilds.
28+
29+
In the vast majority of cases, LLD should be backwards compatible with BFD, and you should not see any difference other than reduced compilation time. However, if you do run into any new linker issues, you can always opt out using the `-C linker-features=-lld` compiler flag. Either by adding it to the usual `RUSTFLAGS` environment variable, or to a project's [`.cargo/config.toml`](https://doc.rust-lang.org/cargo/reference/config.html) configuration file,
30+
like so:
31+
32+
```toml
33+
[target.x86_64-unknown-linux-gnu]
34+
rustflags = ["-Clinker-features=-lld"]
35+
```
36+
37+
If you encounter any issues with the LLD linker, please [let us know](https://github.com/rust-lang/rust/issues/new/choose). You can read more about the switch to LLD, some benchmark numbers and the opt out mechanism [here](https://blog.rust-lang.org/2025/09/01/rust-lld-on-1.90.0-stable/).
3438

3539
### Cargo adds native support for workspace publishing
3640

0 commit comments

Comments
 (0)