mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 22:09:09 +00:00
Wasm: rename build_module_help -> build_module_without_test_wrapper
This commit is contained in:
parent
22d7ccfbd7
commit
3d00217b53
2 changed files with 14 additions and 6 deletions
|
@ -125,8 +125,12 @@ fn compile_roc_to_wasm_bytes<'a, T: Wasm32TestResult>(
|
|||
exposed_to_host,
|
||||
};
|
||||
|
||||
let (mut wasm_module, main_fn_index) =
|
||||
roc_gen_wasm::build_module_help(&env, &mut interns, preload_bytes, procedures).unwrap();
|
||||
let (mut wasm_module, main_fn_index) = roc_gen_wasm::build_module_without_test_wrapper(
|
||||
&env,
|
||||
&mut interns,
|
||||
preload_bytes,
|
||||
procedures,
|
||||
);
|
||||
|
||||
T::insert_test_wrapper(arena, &mut wasm_module, TEST_WRAPPER_NAME, main_fn_index);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue