Expand description
Wasmtime sandbox, WASIp1 context, and plugin instance lifecycle. Wasmtime-powered sandboxed runtime for Martensite plugins.
Plugins are compiled as wasm32-wasip1 WebAssembly modules and executed
with a fuel budget and epoch interruption enabled. The runtime embeds a
WASIp1 context with no filesystem or network capabilities by default, and
injects host functions that validate every call against a
CapabilitySet.
Structs§
- Plugin
Instance - A running WebAssembly plugin instance.
- Plugin
Runtime - Preconfigured Wasmtime runtime environment for loading plugins.
- Plugin
State - Per-instance host state shared with the Wasmtime store.
Enums§
- Plugin
Error - Errors that can occur while configuring or running a plugin.
Constants§
- DEFAULT_
FUEL_ BUDGET - Default fuel budget allocated to each plugin instance.