Fix a bug in our model of the Wasm VM stack

This commit is contained in:
Brian Carroll 2021-11-10 23:02:39 +00:00
parent 86403b4a2f
commit 7f633c107f
4 changed files with 15 additions and 9 deletions

View file

@ -127,7 +127,7 @@ pub fn helper_wasm<'a, T: Wasm32TestResult>(
let src_hash = hash_state.finish();
// Filename contains a hash of the Roc test source code. Helpful when comparing across commits.
let dir = "/tmp/roc/compiler/gen_wasm/output";
let dir = "/tmp/roc/gen_wasm";
std::fs::create_dir_all(dir).unwrap();
let path = format!("{}/test-{:016x}.wasm", dir, src_hash);