Expand description
This module mainly outputs the Compiler trait that custom
compilers will need to implement.
StructsΒ§
- Compiled
Objects - Holds the sets of compiled object buffers produced during compilation.
- Function
Bucket - A bucket containing a group of functions and their total size, used to balance compilation units for parallel compilation.
- InMemory
File πSystem - InMemory
Input π - InMemory
Output π
EnumsΒ§
- Artifact
Format - The artifact format used for purpose of serialization.
- Debugger
- A debugger command-file format for registering JIT-compiled modules.
- Deterministic
IdComponent - A component representing a code-generation-sensitive aspect of a compiler configuration for artifact format creation.
ConstantsΒ§
- WASMER_
IMAGE_ πFILENAME - WASMER_
META_ πFILENAME - WASM_
LARGE_ FUNCTION_ THRESHOLD - Byte size threshold for a function that is considered large.
- WASM_
TRAMPOLINE_ ESTIMATED_ BODY_ SIZE - Estimated byte size of a trampoline (used for progress bar reporting).
TraitsΒ§
- Compiled
Function - Represents a function that has been compiled by the backend compiler.
- Compiler
- An implementation of a Compiler from parsed WebAssembly module to Compiled native code.
- Compiler
Config - The compiler configuration options.
- Func
Translator - Translates a function from its input representation to a compiled form.
FunctionsΒ§
- build_
function_ buckets - Build buckets sized by function length to keep compilation units balanced for parallel compilation.
- emit_
metadata_ and_ link - Emits Wasmer metadata sections and links backend-generated object buffers into a shared object.
- emit_
wasmer_ πmeta_ object - translate_
function_ buckets - Compile function buckets largest-first via the channel (instead of Rayonβs par_iter).