Skip to content

Commit 63d45b2

Browse files
committed
Use C-unwind abi for the llvm.wasm.throw intrinsic
1 parent 758e65d commit 63d45b2

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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)