Wasm: rename build_module_help -> build_module_without_test_wrapper

This commit is contained in:
Brian Carroll 2022-01-13 18:41:16 +00:00
parent 22d7ccfbd7
commit 3d00217b53
2 changed files with 14 additions and 6 deletions

View file

@ -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);