mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 22:09:09 +00:00
another test fix
This commit is contained in:
parent
b72ad31a89
commit
3137e14a85
1 changed files with 3 additions and 3 deletions
|
@ -117,14 +117,14 @@ fn compile_roc_to_wasm_bytes<'a, T: Wasm32TestResult>(
|
|||
..
|
||||
} = loaded;
|
||||
|
||||
debug_assert_eq!(exposed_to_host.len(), 1);
|
||||
debug_assert_eq!(exposed_to_host.values.len(), 1);
|
||||
|
||||
let exposed_to_host = exposed_to_host.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,
|
||||
exposed_to_host.values,
|
||||
};
|
||||
|
||||
let (mut module, called_preload_fns, main_fn_index) =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue