about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorYuki Okushi <jtitor@2k36.org>2021-06-05 06:13:43 +0900
committerGitHub <noreply@github.com>2021-06-05 06:13:43 +0900
commit5d30ab85b29c217760506770cdce7ee2617d8314 (patch)
treebfee0f789f9a2350868d3cf950e43d2cc29d6c35 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent5ebc4d3697ee12a1484ebc28d0e18d69834b7154 (diff)
parent55769a5ca98452967deb66dc1043a45fe0b2ddba (diff)
downloadrust-5d30ab85b29c217760506770cdce7ee2617d8314.tar.gz
rust-5d30ab85b29c217760506770cdce7ee2617d8314.zip
Rollup merge of #85966 - alexcrichton:wasm-simd-indirect, r=workingjubilee
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