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.
arch::wasm32::throw
1 parent ed11a39 commit eafcb72Copy full SHA for eafcb72
library/stdarch/crates/core_arch/src/wasm32/mod.rs
@@ -191,6 +191,7 @@ unsafe extern "C-unwind" {
191
// #[cfg_attr(test, assert_instr(throw, TAG = 0, ptr = core::ptr::null_mut()))]
192
#[inline]
193
#[unstable(feature = "wasm_exception_handling_intrinsics", issue = "122465")]
194
+#[allow(ffi_unwind_calls)]
195
pub unsafe fn throw<const TAG: i32>(ptr: *mut u8) -> ! {
196
static_assert!(TAG == 0); // LLVM only supports tag 0 == C++ right now.
197
wasm_throw(TAG, ptr)
0 commit comments