Skip to content

Commit 8b8bbf0

Browse files
author
nedv-eu
committed
Change default panic strategy to abort for wasm32-unknown-emscripten target
1 parent 0c87288 commit 8b8bbf0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_target/src/spec/wasm32_unknown_emscripten.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ pub fn target() -> Target {
3535
exe_suffix: ".js".to_string(),
3636
linker: None,
3737
is_like_emscripten: true,
38-
panic_strategy: PanicStrategy::Unwind,
38+
panic_strategy: PanicStrategy::Abort,
3939
post_link_args,
4040
families: vec!["unix".to_string()],
4141
..options

0 commit comments

Comments
 (0)