Wasm: refactor the model of the Linking section

This commit is contained in:
Brian Carroll 2022-01-07 22:36:53 +00:00
parent 8cf82ae1b3
commit 738434329e
6 changed files with 64 additions and 71 deletions

View file

@ -131,7 +131,7 @@ pub fn build_module_help<'a>(
backend.build_proc(proc);
}
let module = backend.finalize_module();
let module = backend.into_module();
Ok((module, main_fn_index.unwrap()))
}