1 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
2 From: "Jan Alexander Steffens (heftig)" <jan.steffens@gmail.com>
3 Date: Sat, 6 Nov 2021 22:42:06 +0100
4 Subject: [PATCH] compiler: Use wasm-ld for wasm targets
6 We don't ship rust-lld.
8 compiler/rustc_target/src/spec/wasm_base.rs | 3 +--
9 1 file changed, 1 insertion(+), 2 deletions(-)
11 diff --git a/compiler/rustc_target/src/spec/wasm_base.rs b/compiler/rustc_target/src/spec/wasm_base.rs
12 index 625d3b37c4f2..413c98d5c237 100644
13 --- a/compiler/rustc_target/src/spec/wasm_base.rs
14 +++ b/compiler/rustc_target/src/spec/wasm_base.rs
15 @@ -88,8 +88,7 @@ macro_rules! args {
17 limit_rdylib_exports: false,
19 - // we use the LLD shipped with the Rust toolchain by default
20 - linker: Some("rust-lld".into()),
21 + linker: Some("wasm-ld".into()),
22 linker_flavor: LinkerFlavor::WasmLld(Cc::No),