mirror of
https://github.com/mii443/wasmer.git
synced 2025-08-24 09:19:25 +00:00
Limit the use of clone when handling Compilation object
This commit is contained in:
@ -360,12 +360,12 @@ impl Compiler for LLVMCompiler {
|
||||
.into_iter()
|
||||
.collect::<PrimaryMap<_, _>>();
|
||||
|
||||
Ok(Compilation::new(
|
||||
Ok(Compilation {
|
||||
functions,
|
||||
module_custom_sections,
|
||||
custom_sections: module_custom_sections,
|
||||
function_call_trampolines,
|
||||
dynamic_function_trampolines,
|
||||
dwarf,
|
||||
))
|
||||
debug: dwarf,
|
||||
})
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user