Expand description
Cooperative virtual machine for the wasmsh executor subset.
The full shell still runs primarily in wasmsh-runtime. This VM is
used for the lowered IR subset and provides the shared budgeting,
cancellation, diagnostics, and output accounting primitives that the
runtime also relies on for resumable execution.
Modules§
- pipe
- Pipe buffer for connecting pipeline stages.
Structs§
- Budget
Tracker - Shared budget accounting across the VM and runtime layers.
- Cancellation
Token - A cancellation token that can be shared across threads.
- Diagnostic
Event - A structured diagnostic event emitted during execution.
- Execution
Limits - Configurable execution limits.
- Exhaustion
Reason - Stable exhaustion reason for a specific tracked budget.
- Vm
- The shell virtual machine.
Enums§
- Budget
Category - Structured budget category tracked during execution.
- Diag
Category - Category of diagnostic event.
- Diag
Level - Diagnostic severity.
- Step
Result - Outcome of VM execution.
- Stop
Reason - Structured stop reason for the current execution.