Module base

Source

Re-exportsยง

pub use types::WasmArtifacts;
pub use types::WasmDiagnostic;

Modulesยง

aggregate ๐Ÿ”’
linker ๐Ÿ”’
literals ๐Ÿ”’
types ๐Ÿ”’
wasm_api ๐Ÿ”’
WASM runtime descriptors and ABI helpers.

Structsยง

BTreeMap ๐Ÿ”’
An ordered map based on a B-Tree.
BTreeSet ๐Ÿ”’
An ordered set based on a B-Tree.
FunctionBuilder ๐Ÿ”’
Build instances of LocalFunction.
Load ๐Ÿ”’
*.load
LowerCtx ๐Ÿ”’
MemArg ๐Ÿ”’
Arguments to memory operations, containing a constant offset from a dynamic address as well as a predicted alignment.
ModuleLowerCtx ๐Ÿ”’
PrintFmtWrite ๐Ÿ”’
An adapter between the std::fmt::Write trait and [Print].
Store ๐Ÿ”’
*.store
TerminatorCtx ๐Ÿ”’
Validator ๐Ÿ”’
Validator for a WebAssembly binary module or component.
WatPrinterConfig ๐Ÿ”’
Configuration used to print a WebAssembly binary.

Enumsยง

BinaryOp ๐Ÿ”’
Possible binary operations in wasm
LoadKind ๐Ÿ”’
The different kinds of load instructions that are part of a Load IR node
LowerError ๐Ÿ”’
Internal lowering failures for direct WASM emission.
StoreKind ๐Ÿ”’
The different kinds of store instructions that are part of a Store IR node
Ty ๐Ÿ”’
Semantic type assigned by checking and consumed by lower IRs/backends.
UnaryOp ๐Ÿ”’
Possible unary operations in wasm
ValType ๐Ÿ”’
A value type.
WasmValType ๐Ÿ”’
Wasm value types used by runtime ABI metadata.

Constantsยง

ALLOC_SITE_AGGREGATE_NEW ๐Ÿ”’
ALLOC_SITE_ARRAY_NEW ๐Ÿ”’
ALLOC_SITE_ENUM_NEW ๐Ÿ”’
ALLOC_SITE_POINTER_CLONE ๐Ÿ”’
ALLOC_SITE_POINTER_NEW ๐Ÿ”’
ARRAY_CAP_OFFSET ๐Ÿ”’
ARRAY_DATA_OFFSET ๐Ÿ”’
ARRAY_HEADER_OFFSET ๐Ÿ”’
ARRAY_LEN_OFFSET ๐Ÿ”’
ARRAY_SLOT_BYTES ๐Ÿ”’
ENUM_PAYLOAD_OFFSET ๐Ÿ”’
ENUM_TAG_OFFSET ๐Ÿ”’
POINTER_CELL_BYTES ๐Ÿ”’
POINTER_VALUE_OFFSET ๐Ÿ”’
STRING_DATA_OFFSET ๐Ÿ”’
STRING_HEADER_OFFSET ๐Ÿ”’
STRING_LEN_OFFSET ๐Ÿ”’

Type Aliasesยง

FunctionId ๐Ÿ”’
A function identifier.
InstrSeqId ๐Ÿ”’
The identifier for a InstrSeq within some LocalFunction.
LocalId ๐Ÿ”’
The id of a local.
MemoryId ๐Ÿ”’
The id of a memory.

Derive Macrosยง

Error ๐Ÿ”’