Skip to main content

Module engine

Module engine 

Source
Expand description

Global configuration for the WebAssembly interpreter

Structs§

Config
Configuration for the WebAssembly interpreter
Engine
Global configuration for the WebAssembly interpreter
LazyLinearMemory
Memory backend types and traits. A linear memory wrapper that materializes its inner backend on first access.
MemoryBackend
Memory backend types and traits. Configures how runtime memory instances are created.
PagedMemory
Memory backend types and traits. A sparse chunked linear memory.
StackConfig
Stack allocation policy.
VecMemory
Memory backend types and traits. A contiguous Vec<u8>-backed linear memory.

Enums§

FuelPolicy
Fuel accounting policy for budgeted execution.

Constants§

DEFAULT_MAX_CALL_STACK_SIZE
Default maximum size for the call stack (function frames).
DEFAULT_VALUE_STACK_32_SIZE
Default size for the 32-bit value stack (i32, f32, ref values).
DEFAULT_VALUE_STACK_64_SIZE
Default size for the 64-bit value stack (i64, f64 values).
DEFAULT_VALUE_STACK_128_SIZE
Default size for the 128-bit value stack (v128 values).

Traits§

LinearMemory
Memory backend types and traits. Backend storage for a linear memory