mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 06:14:46 +00:00
and another
This commit is contained in:
parent
3137e14a85
commit
9ee7198e45
1 changed files with 6 additions and 2 deletions
|
@ -119,12 +119,16 @@ fn compile_roc_to_wasm_bytes<'a, T: Wasm32TestResult>(
|
|||
|
||||
debug_assert_eq!(exposed_to_host.values.len(), 1);
|
||||
|
||||
let exposed_to_host = exposed_to_host.values.keys().copied().collect::<MutSet<_>>();
|
||||
let exposed_to_host = exposed_to_host
|
||||
.values
|
||||
.keys()
|
||||
.copied()
|
||||
.collect::<MutSet<_>>();
|
||||
|
||||
let env = roc_gen_wasm::Env {
|
||||
arena,
|
||||
module_id,
|
||||
exposed_to_host.values,
|
||||
exposed_to_host,
|
||||
};
|
||||
|
||||
let (mut module, called_preload_fns, main_fn_index) =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue