Gold linker is deprecated
⚓ Rust 📅 2026-04-24 👤 surdeus 👁️ 1I think this is pretty new. When I run cargo build --release --target x86_64-unknown-linux-musl the binary gets built but I get
WARN rustc_codegen_ssa::back::link Linker does not support -static-pie command line option. Retrying with -static instead.
warning: the gold linker is deprecated and has known bugs with Rust
|
= help: consider using LLD or ld from GNU binutils instead
What do I have to do here?
4 posts - 2 participants
🏷️ Rust_feed