diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2021-06-10 07:11:23 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2021-06-10 19:42:05 -0700 |
| commit | e05bb26d9fdcfe69e9a6d225fe1b3ce07b7ffefd (patch) | |
| tree | cc027bc2a643eef2cc76761a0eaa945029dcde45 /compiler/rustc_codegen_ssa/src | |
| parent | 0279cb11ed98bdc589c66572477fd27f1dd3e0ac (diff) | |
| download | rust-e05bb26d9fdcfe69e9a6d225fe1b3ce07b7ffefd.tar.gz rust-e05bb26d9fdcfe69e9a6d225fe1b3ce07b7ffefd.zip | |
std: Stabilize wasm simd intrinsics
This commit performs two changes to stabilize Rust support for WebAssembly simd intrinsics: * The stdarch submodule is updated to pull in rust-lang/stdarch#1179. * The `wasm_target_feature` feature gate requirement for the `simd128` feature has been removed, stabilizing the name `simd128`. This should conclude the FCP started on #74372 and... Closes #74372
Diffstat (limited to 'compiler/rustc_codegen_ssa/src')
| -rw-r--r-- | compiler/rustc_codegen_ssa/src/target_features.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_ssa/src/target_features.rs b/compiler/rustc_codegen_ssa/src/target_features.rs index b10de567744..c89d42ecc58 100644 --- a/compiler/rustc_codegen_ssa/src/target_features.rs +++ b/compiler/rustc_codegen_ssa/src/target_features.rs @@ -205,7 +205,7 @@ const RISCV_ALLOWED_FEATURES: &[(&str, Option<Symbol>)] = &[ ]; const WASM_ALLOWED_FEATURES: &[(&str, Option<Symbol>)] = &[ - ("simd128", Some(sym::wasm_target_feature)), + ("simd128", None), ("atomics", Some(sym::wasm_target_feature)), ("nontrapping-fptoint", Some(sym::wasm_target_feature)), ]; |
