Function wasmer_compiler::object::module::emit_compilation
source · pub fn emit_compilation(
obj: &mut Object<'_>,
compilation: Compilation,
symbol_registry: &impl SymbolRegistry,
triple: &Triple,
) -> Result<(), ObjectError>
Expand description
Emit the compilation result into an existing object.
§Usage
let mut object = get_object_for_target(&triple)?;
emit_compilation(&mut object, compilation, &symbol_registry, &triple)?;