Use C-unwind abi for the llvm.wasm.throw intrinsic
This commit is contained in:
parent
89caa7798f
commit
281fe5f474
1 changed files with 1 additions and 1 deletions
|
|
@ -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) -> !;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue