mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 22:09:09 +00:00
wasm: use a BitVec for called host functions
This commit is contained in:
parent
52f209b2f9
commit
6e30811b0c
6 changed files with 18 additions and 20 deletions
|
@ -151,7 +151,7 @@ fn compile_roc_to_wasm_bytes<'a, T: Wasm32Result>(
|
|||
index: init_refcount_idx,
|
||||
});
|
||||
|
||||
module.eliminate_dead_code(env.arena, &called_preload_fns);
|
||||
module.eliminate_dead_code(env.arena, called_preload_fns);
|
||||
|
||||
let mut app_module_bytes = std::vec::Vec::with_capacity(module.size());
|
||||
module.serialize(&mut app_module_bytes);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue