wasmer_wasix::syscalls::wasix::stack_checkpoint

Function stack_checkpoint

Source
pub fn stack_checkpoint<M: MemorySize>(
    ctx: FunctionEnvMut<'_, WasiEnv>,
    snapshot_ptr: WasmPtr<StackSnapshot, M>,
    ret_val: WasmPtr<Longsize, M>,
) -> Result<Errno, WasiError>
Expand description

ยงstack_checkpoint()

Creates a snapshot of the current stack which allows it to be restored later using its stack hash.