Skip to content

Commit

Permalink
Disable LLD
Browse files Browse the repository at this point in the history
With rust-lang/rust#124129, x64 linux switches
to use LLD by default, but this causes dependency issues on NixOS.
Disable LLD for now.

This is tracked by rust-lang/rust#125321.
  • Loading branch information
nbdd0121 committed May 20, 2024
1 parent ebab352 commit bd3ef2e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
[env]
RUSTC_BOOTSTRAP = "1"

[build]
rustflags = ["-Zlinker-features=-lld"]

0 comments on commit bd3ef2e

Please sign in to comment.