about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorJorge Aparicio <jorge@japaric.io>2018-08-18 16:36:24 +0200
committerJorge Aparicio <jorge@japaric.io>2018-08-18 16:36:24 +0200
commit27390fcbcb38cee66a6ebbe2ca74789436882779 (patch)
tree5aa9b2518a1328602bd1b98ba1d0dfc4756d0486 /src
parent750e72b9e0881529dad5010862ffc8dec7c28fe8 (diff)
downloadrust-27390fcbcb38cee66a6ebbe2ca74789436882779.tar.gz
rust-27390fcbcb38cee66a6ebbe2ca74789436882779.zip
wasm32-unknown-unknown uses the WASM LLD flavor
Diffstat (limited to 'src')
-rw-r--r--src/librustc_target/spec/wasm32_unknown_unknown.rs1
1 files changed, 1 insertions, 0 deletions
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<Target, String> {
 
         // we use the LLD shipped with the Rust toolchain by default
         linker: Some("rust-lld".to_owned()),
+        lld_flavor: LldFlavor::Wasm,
 
         .. Default::default()
     };