rustc now adds -znostart-stop-gc to the linker args automatically for x64 linux targets.
See: rust-lang/rust#137685
Zig doesn't support this arg so it fails with note: error: unsupported linker extension flag: -z nostart-stop-gc.
A workaround for this is to explicitly set RUSTFLAGS="-Zlinker-features=-lld".
rustc now adds
-znostart-stop-gcto the linker args automatically for x64 linux targets.See: rust-lang/rust#137685
Zig doesn't support this arg so it fails with
note: error: unsupported linker extension flag: -z nostart-stop-gc.A workaround for this is to explicitly set
RUSTFLAGS="-Zlinker-features=-lld".