1
Fork 0

Tweak wasm_base target spec to indicate linker is not GNU and update linker inferring logic for wasm-ld.

This commit is contained in:
Luqman Aden 2021-06-01 17:13:10 -07:00
parent 625d5a693e
commit f667aca127
3 changed files with 8 additions and 3 deletions

View file

@ -102,6 +102,7 @@ pub fn options() -> TargetOptions {
// we use the LLD shipped with the Rust toolchain by default
linker: Some("rust-lld".to_owned()),
lld_flavor: LldFlavor::Wasm,
linker_is_gnu: false,
// No need for indirection here, simd types can always be passed by
// value as the whole module either has simd or not, which is different