Crate wasm

Source

Modules§

const_interpreter_loop
core 🔒
execution 🔒
function_ref
hooks
rw_spinlock
Naive implementation of spin based locking mechanisms
store
validation 🔒
value
value_stack

Macros§

unreachable_validated

Structs§

DataInst
ElemInst
https://webassembly.github.io/spec/core/exec/runtime.html#element-instances
ExportInst
https://webassembly.github.io/spec/core/exec/runtime.html#export-instances
FuncInst
GlobalInst
Limits
MemInst
ModuleInst
https://webassembly.github.io/spec/core/exec/runtime.html#module-instances
RuntimeInstance
Store
The store represents all global state that can be manipulated by WebAssembly programs. It consists of the runtime representation of all instances of functions, tables, memories, and globals, element segments, and data segments that have been allocated during the life time of the abstract machine. https://webassembly.github.io/spec/core/exec/runtime.html#store
TableInst
ValidationInfo
Information collected from validating a module. This can be used to create a crate::RuntimeInstance.

Enums§

Error
ExportDesc
ExternVal
https://webassembly.github.io/spec/core/exec/runtime.html#external-values
LinkerError
NumType
https://webassembly.github.io/spec/core/binary/types.html#number-types
RefType
https://webassembly.github.io/spec/core/binary/types.html#reference-types
RuntimeError
ValType
https://webassembly.github.io/spec/core/binary/types.html#reference-types TODO flatten NumType and RefType enums, as they are not used individually and wasmparser also does it.
Value
A value at runtime. This is essentially a duplicate of ValType just with additional values.

Constants§

DEFAULT_MODULE
The default module name if a RuntimeInstance was created using RuntimeInstance::new.

Traits§

ExternFilterable
common convention functions defined for lists of ExternVals, ExternTypes, Exports https://webassembly.github.io/spec/core/exec/runtime.html#conventions https://webassembly.github.io/spec/core/syntax/types.html#id3 https://webassembly.github.io/spec/core/syntax/modules.html?highlight=convention#id1

Functions§

validate

Type Aliases§

Result