Expand description
A WebAssembly Compiler
implementation using Cranelift.
Cranelift is a fast IR generator created by Mozilla for usage in Firefox as a next JS compiler generator.
Compared to LLVM, Cranelift is a bit faster and made entirely in Rust.
Structs§
- Cranelift
- Global configuration options used to create an
wasmer_engine::Engine
and customize its behavior. - Cranelift
Compiler - A compiler that compiles a WebAssembly module with Cranelift, translating the Wasm to Cranelift IR, optimizing it and then translating to assembly.
- Module
Info Vmctx Info - ModuleInfo
vmctx
related info.
Enums§
- Cranelift
OptLevel - Possible optimization levels for the Cranelift codegen backend.
- Module
Info Memory Offset - Memory definition offset in the VMContext structure.
Constants§
- VERSION
- Version number of this crate.
Functions§
- make_
trampoline_ function_ call - Create a trampoline for invoking a WebAssembly function.
Type Aliases§
- Value
Labels Ranges - Value ranges for functions.