Expand description
Data types, functions and traits for the sys runtime.
Re-exports§
pub use wasmer_compiler::wasmparser;
Modules§
- engine
- Data types, functions and traits for
sysruntime’sEngineimplementation. - exception
- Data types, functions and traits for
sysruntime’sTagimplementation. - external
- Data types, functions and traits for
sysruntime’sExternRefimplementation. - function
- Data types, functions and traits for
sysruntime’sFunctionimplementation. - global
- Data types, functions and traits for
sysruntime’sGlobalimplementation. - instance
- Data types, functions and traits for
sysruntime’sInstanceimplementation. - memory
- Data types, functions and traits for
sysruntime’sMemoryimplementation. - module
- Data types, functions and traits for
sysruntime’sModuleimplementation. - store
- Data types, functions and traits for
sysruntime’sStoreimplementation. - table
- Data types, functions and traits for
sysruntime’sTableimplementation. - tag
- Data types, functions and traits for
sysruntime’sTagimplementation. - vm
- The
vmmodule re-exports wasmer-vm types.
Structs§
- Artifact
- A compiled wasm module, ready to be instantiated.
- Base
Tunables - Tunable parameters for WebAssembly compilation.
This is the reference implementation of the
Tunablestrait, used by default. - Cranelift
- Global configuration options used to create an
wasmer_engine::Engineand customize its behavior. - Engine
Builder - The Builder contents of
Engine - Features
- Controls which experimental features will be enabled. Features usually have a corresponding WebAssembly proposal.
- LLVM
- Middleware
Error - A error in the middleware.
- Middleware
Reader State - The state of the binary reader. Exposed to middlewares to push their outputs.
- Singlepass
- Target
- This is the target that we will use for compiling the WebAssembly ModuleInfo, and then run it.
- Triple
- An LLVM target “triple”. Historically such things had three fields, though they’ve added additional fields over time.
Enums§
- Architecture
- The “architecture” field, which in some cases also specifies a specific subarchitecture.
- CpuFeature
- The nomenclature is inspired by the
cpuidcrate. The list of supported features was initially retrieved fromcranelift-native. - Cranelift
OptLevel - Possible optimization levels for the Cranelift codegen backend.
- LLVM
OptLevel - Defines the optimization level used to compile a
Module. - Operating
System - The “operating system” field, which sometimes implies an environment, and sometimes isn’t an actual operating system.
Traits§
- Compiler
Config - The compiler configuration options.
- Function
Middleware - A function middleware specialized for a single function.
- Module
Middleware - A shared builder for function middlewares.
- Native
Engine Ext - The custom trait to access to all the
sysfunction in the common engine. - Tunables
- An engine delegates the creation of memories, tables, and globals to a foreign implementor of this trait.