Expand description
Data types, functions and traits for the sys runtime.
Re-exports§
pub use engine::NativeEngineExt;pub use wasmer_compiler::wasmparser;pub use entities::*;pub use tunables::*;
Modules§
- async_
runtime 🔒 - entities 🔒
- error 🔒
- tunables 🔒
- vm
- The
vmmodule re-exports wasmer-vm types.
Structs§
- Artifact
- A compiled wasm module, ready to be instantiated.
- 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.
- Tunables
- An engine delegates the creation of memories, tables, and globals to a foreign implementor of this trait.