Tweak wasm_base target spec to indicate linker is not GNU and update linker inferring logic for wasm-ld.
This commit is contained in:
parent
625d5a693e
commit
f667aca127
3 changed files with 8 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue