Expand description
Minimal register-IR execution core.
This is the first Phase 2 runtime slice: execute straight-line lowered IR independently from validation. Broader control flow, calls, memory, tables, traps, and host integration are added in later checkpoints.
Re-exports§
pub use host::HostFunction;pub use host::link_func;
Modules§
- gpu
- Optional GPU backend slot for bulk SIMD offload.
- host
- Host functions: native callables registered with a
Storethat WASM modules can import and call. - verify
- Numerical correctness verification for GPU offload kernels (Layer 2).
Structs§
- Imports
- Entities provided by the host to satisfy a module’s state imports
(memories, globals, tables), resolved eagerly at instantiation.
Function imports resolve separately and lazily via
Store::register_host_func. - Runtime
Error - Runtime execution error.
- Store
- Mutable state of an instantiated module.
- Table
- A WebAssembly table instance.
Enums§
- Runtime
Error Kind - Specific runtime execution failures.
- Runtime
Trap - WebAssembly runtime traps surfaced by the interpreter.
- Value
- A runtime WebAssembly value.
Constants§
- PAGE_
SIZE - Size of one WebAssembly memory page in bytes.
Functions§
- execute_
export - Execute an exported lowered function by name.
- execute_
func - Execute a single lowered function with positional arguments.
Type Aliases§
- Link
Group - A link group: instances that can reach each other’s funcref values by instance id. Created per link cluster (e.g. one per spec test file).