We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f21b4c0 commit 78dc744Copy full SHA for 78dc744
1 file changed
library/unwind/src/wasm.rs
@@ -73,7 +73,7 @@ pub unsafe fn _Unwind_RaiseException(exception: *mut _Unwind_Exception) -> _Unwi
73
// corresponds with llvm::WebAssembly::Tag::CPP_EXCEPTION
74
// in llvm-project/llvm/include/llvm/CodeGen/WasmEHFuncInfo.h
75
const CPP_EXCEPTION_TAG: i32 = 0;
76
- wasm_throw(CPP_EXCEPTION_TAG, exception.cast())
+ unsafe { wasm_throw(CPP_EXCEPTION_TAG, exception.cast()) }
77
}
78
_ => {
79
let _ = exception;
0 commit comments