diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2021-06-03 08:58:12 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2021-06-03 09:55:45 -0700 |
| commit | 55769a5ca98452967deb66dc1043a45fe0b2ddba (patch) | |
| tree | 5c1174ab1bc802242b5fdb1b63af18d7531c70c1 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | 835150e70288535bc57bb624792229b9dc94991d (diff) | |
| download | rust-55769a5ca98452967deb66dc1043a45fe0b2ddba.tar.gz rust-55769a5ca98452967deb66dc1043a45fe0b2ddba.zip | |
wasm: Make simd types passed via indirection again
This commit updates wasm target specs to use `simd_types_indirect: true` again. Long ago this was added since wasm simd types were always translated to `v128` under-the-hood in LLVM, meaning that it didn't matter whether that target feature was enabled or not. Now, however, `v128` is conditionally used in codegen depending on target features enabled, meaning that it's possible to get linker errors about different signatures in code that correctly uses simd types. The fix is the same as for all other platforms, which is to pass the type indirectly.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
