about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJan-Mirko Otter <janmirko.otter@googlemail.com>2023-05-01 10:59:37 +0000
committerJan-Mirko Otter <janmirko.otter@googlemail.com>2023-06-07 17:46:34 +0200
commit82336c13115e1e8d567f6ffbdffdf9e2a0c3f955 (patch)
tree1b50bdcd11a88a2cd28ed159bbd810c58f8557fb
parente94bda3bf13303671427363d1cd93ac5e089f090 (diff)
downloadrust-82336c13115e1e8d567f6ffbdffdf9e2a0c3f955.tar.gz
rust-82336c13115e1e8d567f6ffbdffdf9e2a0c3f955.zip
wasm target feature: exception handling
-rw-r--r--compiler/rustc_codegen_ssa/src/target_features.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_codegen_ssa/src/target_features.rs b/compiler/rustc_codegen_ssa/src/target_features.rs
index c5976a65411..bb2a45dcc68 100644
--- a/compiler/rustc_codegen_ssa/src/target_features.rs
+++ b/compiler/rustc_codegen_ssa/src/target_features.rs
@@ -282,6 +282,7 @@ const WASM_ALLOWED_FEATURES: &[(&str, Option<Symbol>)] = &[
     // tidy-alphabetical-start
     ("atomics", Some(sym::wasm_target_feature)),
     ("bulk-memory", Some(sym::wasm_target_feature)),
+    ("exception-handling", Some(sym::wasm_target_feature)),
     ("multivalue", Some(sym::wasm_target_feature)),
     ("mutable-globals", Some(sym::wasm_target_feature)),
     ("nontrapping-fptoint", Some(sym::wasm_target_feature)),