Function wasmer_wasix::syscalls::journal::restore_snapshot::restore_snapshot
source ยท pub unsafe fn restore_snapshot(
ctx: FunctionEnvMut<'_, WasiEnv>,
journal: Arc<DynJournal>,
bootstrapping: bool,
) -> Result<Option<RewindState>, WasiRuntimeError>
Expand description
Safety: This function manipulates the memory of the process and thus must be executed by the WASM process thread itself.