Files
rust/tests/ui/feature-gates/feature-gate-cfg-emscripten-wasm-eh.rs
Hood Chatham 49c74234a7 Add support for wasm exception handling to Emscripten target
Gated behind an unstable `-Z emscripten-wasm-eh` flag
2025-01-06 10:29:54 +01:00

5 lines
147 B
Rust

//@ compile-flags: --check-cfg=cfg(emscripten_wasm_eh)
#[cfg(not(emscripten_wasm_eh))]
//~^ `cfg(emscripten_wasm_eh)` is experimental
fn main() {}