Expand description
Support for compiling with Cranelift.
This crate provides an implementation of the wasmtime_environ::Compiler
and wasmtime_environ::CompilerBuilder
traits.
Modules§
Structs§
- Compiled function: machine code body, jump table offsets, and unwind information.
- The metadata for the compiled function.
- Metadata to translate from binary offsets back to the original location found in the wasm input.
- A helper structure used to assemble the final text section of an executable, plus unwinding information and other related details.
- A record of a relocation to perform.
Constants§
- Namespace for builtin function trampolines. The index is the index of the builtin that’s being referenced. These trampolines invoke the real host function through an indirect function call loaded by the
VMContext
. - Namespace corresponding to wasm functions, the index is the index of the defined function that’s being referenced.
Functions§
- Converts cranelift_codegen settings to the wasmtime_environ equivalent.
- Converts machine traps to trap information.