Skip to content

Commit 967eed6

Browse files
committed
Fix nightly build
In recent versions of the nightly / beta compilers, the use of linkme causes linker errors. (dtolnay/linkme#94) This is due to the new linker set as default in these versions. Add linker flags to nightly builds to revert to the old linker behaviour. See: - dtolnay/linkme#88 - https://blog.rust-lang.org/2024/05/17/enabling-rust-lld-on-linux.html
1 parent 1cc0853 commit 967eed6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.cargo/config.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[target.x86_64-unknown-linux-gnu]
2+
3+
rustflags=["-Clink-arg=-Wl,-z,nostart-stop-gc"]

0 commit comments

Comments
 (0)