Use C-unwind abi for the llvm.wasm.throw intrinsic

This commit is contained in:
Noa 2024-11-01 00:43:53 -05:00 committed by Amanieu d'Antras
parent 89caa7798f
commit 281fe5f474

View file

@ -32,7 +32,7 @@ pub fn unreachable() -> ! {
crate::intrinsics::abort()
}
extern "C" {
extern "C-unwind" {
#[link_name = "llvm.wasm.throw"]
fn wasm_throw(tag: i32, ptr: *mut u8) -> !;
}