1
Fork 0

Add support for wasm exception handling to Emscripten target

Gated behind an unstable `-Z emscripten-wasm-eh` flag
This commit is contained in:
Hood Chatham 2024-10-17 13:00:35 +02:00
parent bf6f8a4d32
commit 49c74234a7
21 changed files with 131 additions and 10 deletions

View file

@ -37,6 +37,7 @@ const GATED_CFGS: &[GatedCfg] = &[
(sym::sanitizer_cfi_normalize_integers, sym::cfg_sanitizer_cfi, Features::cfg_sanitizer_cfi),
// this is consistent with naming of the compiler flag it's for
(sym::fmt_debug, sym::fmt_debug, Features::fmt_debug),
(sym::emscripten_wasm_eh, sym::cfg_emscripten_wasm_eh, Features::cfg_emscripten_wasm_eh),
];
/// Find a gated cfg determined by the `pred`icate which is given the cfg's name.