wasmer_vm::libcalls

Function 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.