Gold linker is deprecated
@manfredlotz
·
2026-04-24
·
via The Rust Programming Language Forum - Latest posts
I 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?
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。