Crate wasmer_compiler_cranelift
source ยท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.
Modulesยง
- address_map ๐
- compiler ๐Support for compiling with Cranelift.
- config ๐
- debug ๐
- dwarf ๐
- func_environ ๐
- heap ๐Heaps to implement WebAssembly linear memories.
- table ๐
- trampoline ๐
- translator ๐Tools for translating wasm function bytecode to Cranelift IR.
Structsยง
- Global configuration options used to create an
wasmer_engine::Engine
and customize its behavior. - A compiler that compiles a WebAssembly module with Cranelift, translating the Wasm to Cranelift IR, optimizing it and then translating to assembly.
- ModuleInfo
vmctx
related info.
Enumsยง
- Possible optimization levels for the Cranelift codegen backend.
- Memory definition offset in the VMContext structure.
Constantsยง
- Version number of this crate.
Functionsยง
- Create a trampoline for invoking a WebAssembly function.
Type Aliasesยง
- Value ranges for functions.