Function wasmer_object::emit_serialized
source · [−]pub fn emit_serialized(
obj: &mut Object<'_>,
sercomp: &[u8],
triple: &Triple
) -> Result<(), ObjectError>
Expand description
Emit the compilation result into an existing object.
Usage
use wasmer_object::{get_object_for_target, emit_compilation};
let mut object = get_object_for_target(&triple)?;
emit_compilation(&mut object, compilation, &symbol_registry, &triple)?;