projects/aports·blob master · refs

13 lines · 563 B

1--- a/compiler/rustc_target/src/spec/base/wasm.rs
2+++ b/compiler/rustc_target/src/spec/base/wasm.rs
3@@ -71,8 +71,8 @@ pub(crate) fn options() -> TargetOptions
4 // threaded model which will legalize atomics to normal operations.
5 singlethread: true,
6
7- // we use the LLD shipped with the Rust toolchain by default
8- linker: Some("rust-lld".into()),
9+ // we use the LLD shipped with the system by default
10+ linker: Some("wasm-ld".into()),
11 linker_flavor: LinkerFlavor::WasmLld(Cc::No),
12
13 pre_link_args,