mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-21 02:05:16 +03:00
15 lines
658 B
Diff
15 lines
658 B
Diff
diff --git a/compiler/rustc_target/src/spec/wasm_base.rs b/compiler/rustc_target/src/spec/wasm_base.rs
|
|
index 528a84a8b..4a33a4994 100644
|
|
--- a/compiler/rustc_target/src/spec/wasm_base.rs
|
|
+++ b/compiler/rustc_target/src/spec/wasm_base.rs
|
|
@@ -89,8 +93,8 @@ pub fn options() -> TargetOptions {
|
|
// arguments just yet
|
|
limit_rdylib_exports: false,
|
|
|
|
- // we use the LLD shipped with the Rust toolchain by default
|
|
- linker: Some("rust-lld".into()),
|
|
+ // we use the LLD shipped with the system by default
|
|
+ linker: Some("wasm-ld".into()),
|
|
linker_flavor: LinkerFlavor::WasmLld(Cc::No),
|
|
|
|
pre_link_args,
|