Blame SOURCES/0001-Use-lld-provided-by-system-for-wasm.patch
|
|
80296c |
From 37cb177eb53145103ae72b67562884782dde01c3 Mon Sep 17 00:00:00 2001
|
|
|
1e9ce7 |
From: Ivan Mironov <mironov.ivan@gmail.com>
|
|
|
1e9ce7 |
Date: Sun, 8 Dec 2019 17:23:08 +0500
|
|
|
1e9ce7 |
Subject: [PATCH] Use lld provided by system for wasm
|
|
|
1e9ce7 |
|
|
|
1e9ce7 |
---
|
|
|
1e9ce7 |
compiler/rustc_target/src/spec/wasm_base.rs | 3 +--
|
|
|
1e9ce7 |
1 file changed, 1 insertion(+), 2 deletions(-)
|
|
|
1e9ce7 |
|
|
|
1e9ce7 |
diff --git a/compiler/rustc_target/src/spec/wasm_base.rs b/compiler/rustc_target/src/spec/wasm_base.rs
|
|
|
80296c |
index 528a84a8b37c..353d742161d1 100644
|
|
|
1e9ce7 |
--- a/compiler/rustc_target/src/spec/wasm_base.rs
|
|
|
1e9ce7 |
+++ b/compiler/rustc_target/src/spec/wasm_base.rs
|
|
|
80296c |
@@ -89,8 +89,7 @@ macro_rules! args {
|
|
|
1e9ce7 |
// arguments just yet
|
|
|
1e9ce7 |
limit_rdylib_exports: false,
|
|
|
1e9ce7 |
|
|
|
1e9ce7 |
- // we use the LLD shipped with the Rust toolchain by default
|
|
|
a40f9b |
- linker: Some("rust-lld".into()),
|
|
|
a40f9b |
+ linker: Some("lld".into()),
|
|
|
80296c |
linker_flavor: LinkerFlavor::WasmLld(Cc::No),
|
|
|
1e9ce7 |
|
|
|
80296c |
pre_link_args,
|
|
|
1e9ce7 |
--
|
|
|
80296c |
2.38.1
|
|
|
1e9ce7 |
|