core::arch::wasm32

Function throw

1.33.0 ยท source
pub unsafe fn throw<const TAG: i32>(ptr: *mut u8) -> !
Available on WebAssembly and target_family="wasm" only.
Expand description

Generates the throw instruction from the exception-handling proposal for WASM.

This function is unlikely to be stabilized until codegen backends have better support.