[−][src]Module wasmtime_environ::wasm
Modules
wasmparser | A simple event-driven library for parsing WebAssembly binary files (or streams). |
Macros
wasm_unsupported | Return an |
Structs
DataIndex | Index type of a passive data segment inside the WebAssembly module. |
DefinedFuncIndex | Index type of a defined function inside the WebAssembly module. |
DefinedGlobalIndex | Index type of a defined global inside the WebAssembly module. |
DefinedMemoryIndex | Index type of a defined memory inside the WebAssembly module. |
DefinedTableIndex | Index type of a defined table inside the WebAssembly module. |
DummyEnvironment | This |
ElemIndex | Index type of a passive element segment inside the WebAssembly module. |
Event | WebAssembly event. |
EventIndex | Index type of an event inside the WebAssembly module. |
FuncIndex | Index type of a function (imported or defined) inside the WebAssembly module. |
FuncTranslationState | Contains information passed along during a function's translation and that records: |
FuncTranslator | WebAssembly to Cranelift IR function translator. |
FunctionBuilder | Temporary object used to build a single Cranelift IR |
Global | A WebAssembly global. |
GlobalIndex | Index type of a global variable (imported or defined) inside the WebAssembly module. |
InstanceIndex | Index type of an instance inside the WebAssembly module. |
InstanceTypeIndex | Specialized index for just instance types. |
Memory | WebAssembly linear memory. |
MemoryIndex | Index type of a linear memory (imported or defined) inside the WebAssembly module. |
ModuleIndex | Index type of a module inside the WebAssembly module. |
ModuleTranslationState | Contains information decoded from the Wasm module that must be referenced during each Wasm function's translation. |
ModuleTypeIndex | Specialized index for just module types. |
SignatureIndex | Index type of a signature (imported or defined) inside the WebAssembly module. |
Table | WebAssembly table. |
TableIndex | Index type of a table (imported or defined) inside the WebAssembly module. |
TypeIndex | Index type of a type inside the WebAssembly module. |
WasmFuncType | WebAssembly function type -- equivalent of |
Enums
Alias | An entry in the alias section of a wasm module (from the module linking proposal) |
EntityIndex | An index of an entity. |
EntityType | A type of an item in a wasm module where an item is typically something that can be exported. |
GlobalInit | Globals are initialized via the |
GlobalVariable | The value of a WebAssembly global variable. |
ReturnMode | How to return from functions. |
TableElementType | WebAssembly table element. Can be a function or a scalar type. |
WasmError | A WebAssembly translation error. |
WasmType | WebAssembly value type -- equivalent of |
Constants
VERSION | Version number of this crate. |
Traits
FuncEnvironment | Environment affecting the translation of a single WebAssembly function. |
ModuleEnvironment | An object satisfying the |
TargetEnvironment | Environment affecting the translation of a WebAssembly. |
Functions
block_with_params | Create a |
blocktype_params_results | Get the parameter and result types for the given Wasm blocktype. |
f32_translation | Turns a |
f64_translation | Turns a |
get_vmctx_value_label | Special VMContext value label. It is tracked as 0xffff_fffe label. |
tabletype_to_type | Helper function translating wasmparser possible table types to Cranelift types when possible, or None for Func tables. |
translate_module | Translate a sequence of bytes forming a valid Wasm binary into a list of valid Cranelift IR
|
type_to_type | Helper function translating wasmparser types to Cranelift types when possible. |
Type Definitions
WasmResult | A convenient alias for a |