Skip to content

Commit 281fe5f

Browse files
coolreader18Amanieu
authored andcommitted
Use C-unwind abi for the llvm.wasm.throw intrinsic
1 parent 89caa77 commit 281fe5f

File tree

1 file changed

+1
-1
lines changed
  • library/stdarch/crates/core_arch/src/wasm32

1 file changed

+1
-1
lines changed

library/stdarch/crates/core_arch/src/wasm32/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ pub fn unreachable() -> ! {
3232
crate::intrinsics::abort()
3333
}
3434

35-
extern "C" {
35+
extern "C-unwind" {
3636
#[link_name = "llvm.wasm.throw"]
3737
fn wasm_throw(tag: i32, ptr: *mut u8) -> !;
3838
}

0 commit comments

Comments
 (0)