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 3, 2024
1 parent 3e52a32 commit 0af2316
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 0af2316

Please sign in to comment.