db-move: moved firefox-i18n from [testing] to [extra] (any)
[arch-packages.git] / rust / trunk / 0003-compiler-Use-wasm-ld-for-wasm-targets.patch
blobc71d14d3cd889502229cd1f81b1fc45444c57a13
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.
7 ---
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 {
16 // arguments just yet
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),
24 pre_link_args,