pass a pointer width of 4 to wasm test gen

This commit is contained in:
Folkert 2021-11-21 21:37:15 +01:00
parent f90f5a4bdd
commit 2d4e6b414c
2 changed files with 3 additions and 2 deletions

View file

@ -60,6 +60,7 @@ pub fn helper_wasm<'a, T: Wasm32TestResult>(
}
let exposed_types = MutMap::default();
let ptr_bytes = 4;
let loaded = roc_load::file::load_and_monomorphize_from_str(
arena,
filename,
@ -67,7 +68,7 @@ pub fn helper_wasm<'a, T: Wasm32TestResult>(
stdlib,
src_dir,
exposed_types,
8,
ptr_bytes,
builtin_defs_map,
);