Skip to content
Unverified: This page has not yet been anchored to automated code tests.

vox-wasm-engine API Reference (generated)

Crate: vox-wasm-engine · Version: 0.6.0 · Target: Library (lib.rs)

Single-source-of-truth Wasmtime engine + WASI execution for Vox programs and skill plugins.

Single-source-of-truth Wasmtime engine construction, WASI context wiring, and WASM module execution for the Vox toolchain.

Used by:

  • vox-cli (vox run --backend wasi) for testing arbitrary Vox programs
  • vox-plugin-runtime-wasm for sandboxed skill execution

One engine builder, one preopen mapper, one exit-code handler — no duplication of Wasmtime boilerplate across call sites.

StructDescription
WasmRunOutcomeOutcome of a completed WASM module execution.
FunctionDescription
successReturns true if the module exited successfully (exit code 0).
stdout_strDecode stdout as UTF-8, lossy.
stderr_strDecode stderr as UTF-8, lossy.