vox-wasm-engine API Reference (generated)
vox-wasm-engine
Section titled “vox-wasm-engine”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.
Crate Overview
Section titled “Crate Overview”vox-wasm-engine
Section titled “vox-wasm-engine”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 programsvox-plugin-runtime-wasmfor sandboxed skill execution
Architecture
Section titled “Architecture”One engine builder, one preopen mapper, one exit-code handler — no duplication of Wasmtime boilerplate across call sites.
Public API Surface
Section titled “Public API Surface”Structs
Section titled “Structs”| Struct | Description |
|---|---|
WasmRunOutcome | Outcome of a completed WASM module execution. |
Functions
Section titled “Functions”| Function | Description |
|---|---|
success | Returns true if the module exited successfully (exit code 0). |
stdout_str | Decode stdout as UTF-8, lossy. |
stderr_str | Decode stderr as UTF-8, lossy. |