Skip to content

Commit

Permalink
Disable lld linking
Browse files Browse the repository at this point in the history
We need to use Rust nightly (for bpf target), which defaults to LLD now.
However Rust-bundled LLD doesn't work very well under NixOS.
  • Loading branch information
nbdd0121 committed Oct 7, 2024
1 parent c381706 commit a6c0dad
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[target.x86_64-unknown-linux-gnu]
rustflags = ["-Zlinker-features=-lld"]

0 comments on commit a6c0dad

Please sign in to comment.