From 5d0e1c9f0e8444c122d8f07d181b533023b5b766 Mon Sep 17 00:00:00 2001 From: daxpedda Date: Tue, 31 Oct 2023 17:51:22 +0100 Subject: [PATCH] Stabilize Wasm phase 4 & 5 proposals --- compiler/rustc_codegen_ssa/src/target_features.rs | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/compiler/rustc_codegen_ssa/src/target_features.rs b/compiler/rustc_codegen_ssa/src/target_features.rs index 9c053338c8537..e3b49c5ba32e5 100644 --- a/compiler/rustc_codegen_ssa/src/target_features.rs +++ b/compiler/rustc_codegen_ssa/src/target_features.rs @@ -282,14 +282,15 @@ const RISCV_ALLOWED_FEATURES: &[(&str, Option)] = &[ const WASM_ALLOWED_FEATURES: &[(&str, Option)] = &[ // tidy-alphabetical-start ("atomics", Some(sym::wasm_target_feature)), - ("bulk-memory", Some(sym::wasm_target_feature)), + ("bulk-memory", None), ("exception-handling", Some(sym::wasm_target_feature)), + ("extended-const", None), ("multivalue", Some(sym::wasm_target_feature)), - ("mutable-globals", Some(sym::wasm_target_feature)), - ("nontrapping-fptoint", Some(sym::wasm_target_feature)), + ("mutable-globals", None), + ("nontrapping-fptoint", None), ("reference-types", Some(sym::wasm_target_feature)), ("relaxed-simd", Some(sym::wasm_target_feature)), - ("sign-ext", Some(sym::wasm_target_feature)), + ("sign-ext", None), ("simd128", None), // tidy-alphabetical-end ];