Skip to content

Commit 434c3ca

Browse files
committed
Emscripten: Turn wasm-eh on by default
As specified by MCP: rust-lang/compiler-team#920 Resolves #148309
1 parent 8205e6b commit 434c3ca

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

compiler/rustc_interface/src/tests.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -796,7 +796,7 @@ fn test_unstable_options_tracking_hash() {
796796
tracked!(embed_metadata, false);
797797
tracked!(embed_source, true);
798798
tracked!(emit_thin_lto, false);
799-
tracked!(emscripten_wasm_eh, true);
799+
tracked!(emscripten_wasm_eh, false);
800800
tracked!(export_executable_symbols, true);
801801
tracked!(fewer_names, Some(true));
802802
tracked!(fixed_x18, true);

compiler/rustc_session/src/options.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2307,7 +2307,7 @@ options! {
23072307
"emit a section containing stack size metadata (default: no)"),
23082308
emit_thin_lto: bool = (true, parse_bool, [TRACKED],
23092309
"emit the bc module with thin LTO info (default: yes)"),
2310-
emscripten_wasm_eh: bool = (false, parse_bool, [TRACKED],
2310+
emscripten_wasm_eh: bool = (true, parse_bool, [TRACKED],
23112311
"Use WebAssembly error handling for wasm32-unknown-emscripten"),
23122312
enforce_type_length_limit: bool = (false, parse_bool, [TRACKED],
23132313
"enforce the type length limit when monomorphizing instances in codegen"),

0 commit comments

Comments
 (0)