Function wasmer_vm::libcalls::wasmer_vm_raise_trap
source · #[no_mangle]
pub unsafe extern "C" fn wasmer_vm_raise_trap(
trap_code: TrapCode
) -> !
Expand description
Implementation for raising a trap
Safety
Only safe to call when wasm code is on the stack, aka wasmer_call
or
wasmer_call_trampoline
must have been previously called.