Skip to content

Commit 1fac415

Browse files
authored
Rollup merge of #108086 - alexcrichton:wasm-relaxed-simd-feature, r=eholk
wasm: Register the `relaxed-simd` target feature This WebAssembly proposal is likely to reach stage 4 soon so this starts the support in Rust for the proposal by adding a target feature that can be enabled via attributes for the stdarch project to bind the intrinsics.
2 parents ee07df9 + d90f7df commit 1fac415

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

compiler/rustc_codegen_ssa/src/target_features.rs

+1
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,7 @@ const WASM_ALLOWED_FEATURES: &[(&str, Option<Symbol>)] = &[
286286
("mutable-globals", Some(sym::wasm_target_feature)),
287287
("nontrapping-fptoint", Some(sym::wasm_target_feature)),
288288
("reference-types", Some(sym::wasm_target_feature)),
289+
("relaxed-simd", Some(sym::wasm_target_feature)),
289290
("sign-ext", Some(sym::wasm_target_feature)),
290291
("simd128", None),
291292
// tidy-alphabetical-end

0 commit comments

Comments
 (0)