Blame SOURCES/0001-Use-lld-provided-by-system-for-wasm.patch

5737f7
From b521511174b1a08dddfac243604d649b71cc7386 Mon Sep 17 00:00:00 2001
601eff
From: Ivan Mironov <mironov.ivan@gmail.com>
601eff
Date: Sun, 8 Dec 2019 17:23:08 +0500
601eff
Subject: [PATCH] Use lld provided by system for wasm
601eff
601eff
---
601eff
 compiler/rustc_target/src/spec/wasm_base.rs | 3 +--
601eff
 1 file changed, 1 insertion(+), 2 deletions(-)
601eff
601eff
diff --git a/compiler/rustc_target/src/spec/wasm_base.rs b/compiler/rustc_target/src/spec/wasm_base.rs
5737f7
index de7b7374af31..eebbe616e9b6 100644
601eff
--- a/compiler/rustc_target/src/spec/wasm_base.rs
601eff
+++ b/compiler/rustc_target/src/spec/wasm_base.rs
0e66bb
@@ -99,8 +99,7 @@ pub fn options() -> TargetOptions {
601eff
         // arguments just yet
601eff
         limit_rdylib_exports: false,
601eff
 
601eff
-        // we use the LLD shipped with the Rust toolchain by default
5737f7
-        linker: Some("rust-lld".into()),
5737f7
+        linker: Some("lld".into()),
601eff
         lld_flavor: LldFlavor::Wasm,
0e66bb
         linker_is_gnu: false,
601eff
 
601eff
-- 
5737f7
2.35.1
601eff