[−][src]Function wasmtime_jit::link_module
pub fn link_module(
module: &Module,
allocated_functions: &PrimaryMap<DefinedFuncIndex, *mut [VMFunctionBody]>,
jt_offsets: &PrimaryMap<DefinedFuncIndex, JumpTableOffsets>,
relocations: Relocations
)
Links a module that has been compiled with compiled_module
in wasmtime-environ
.
Performs all required relocations inside the function code, provided the necessary metadata.