Function wasmer_wasix::syscalls::wasix::stack_checkpoint::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.