27 lines
920 B
Diff
27 lines
920 B
Diff
|
From 9ac837c237568a6c1c5f0e979fcce208cd9c926a Mon Sep 17 00:00:00 2001
|
||
|
From: Ivan Mironov <mironov.ivan@gmail.com>
|
||
|
Date: Sun, 8 Dec 2019 17:23:08 +0500
|
||
|
Subject: [PATCH] Use lld provided by system for wasm
|
||
|
|
||
|
---
|
||
|
compiler/rustc_target/src/spec/wasm_base.rs | 3 +--
|
||
|
1 file changed, 1 insertion(+), 2 deletions(-)
|
||
|
|
||
|
diff --git a/compiler/rustc_target/src/spec/wasm_base.rs b/compiler/rustc_target/src/spec/wasm_base.rs
|
||
|
index 4c954a1e567c..15c4f1bda5eb 100644
|
||
|
--- a/compiler/rustc_target/src/spec/wasm_base.rs
|
||
|
+++ b/compiler/rustc_target/src/spec/wasm_base.rs
|
||
|
@@ -99,8 +99,7 @@ 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".to_owned()),
|
||
|
+ linker: Some("lld".to_owned()),
|
||
|
lld_flavor: LldFlavor::Wasm,
|
||
|
linker_is_gnu: false,
|
||
|
|
||
|
--
|
||
|
2.31.1
|
||
|
|