From 27390fcbcb38cee66a6ebbe2ca74789436882779 Mon Sep 17 00:00:00 2001 From: Jorge Aparicio Date: Sat, 18 Aug 2018 16:36:24 +0200 Subject: [PATCH] wasm32-unknown-unknown uses the WASM LLD flavor --- src/librustc_target/spec/wasm32_unknown_unknown.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/librustc_target/spec/wasm32_unknown_unknown.rs b/src/librustc_target/spec/wasm32_unknown_unknown.rs index 51d402e197d..94e7739b1a0 100644 --- a/src/librustc_target/spec/wasm32_unknown_unknown.rs +++ b/src/librustc_target/spec/wasm32_unknown_unknown.rs @@ -53,6 +53,7 @@ pub fn target() -> Result { // we use the LLD shipped with the Rust toolchain by default linker: Some("rust-lld".to_owned()), + lld_flavor: LldFlavor::Wasm, .. Default::default() };