Skip to main content
Module elf
wasmer_
compiler_
singlepass
7.2.1
Module elf
Module Items
Enums
Functions
In crate wasmer_
compiler_
singlepass
wasmer_compiler_singlepass
Module
elf
Copy item path
Source
Enums
§
Compile
Output
🔒
The result of compiling a single unit (function or trampoline): either an in-memory body for the classic artifact format, or a relocatable object buffer for the ELF artifact format (together with the maximum stack usage, when known).
Functions
§
compile_
output_
in_
memory
🔒
Extract the in-memory bodies from classic-mode compile outputs.
compile_
output_
objects
🔒
Extract the object buffers from ELF-mode compile outputs.
emit_
function_
body
🔒
Serialize a trampoline’s body into its own relocatable object file.
emit_
import_
trampoline
🔒
Serialize an import trampoline’s custom section into its own relocatable object file.
emit_
local_
function
🔒
link_
module
🔒
Link all the per-function and trampoline objects (plus the Wasmer metadata object) into the final shared-object module image.