Skip to content

Commit 0af2316

Browse files
committed
Disable lld linking
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.
1 parent 3e52a32 commit 0af2316

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.cargo/config.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[target.x86_64-unknown-linux-gnu]
2+
rustflags = ["-Zlinker-features=-lld"]

0 commit comments

Comments
 (0)