mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 06:14:46 +00:00
Make all Wasm blocks NoResult and always put return value in a local var.
This commit is contained in:
parent
51119c8142
commit
17dc6668ec
6 changed files with 48 additions and 34 deletions
|
@ -144,8 +144,8 @@ pub fn helper_wasm<'a, T: Wasm32TestResult>(
|
|||
debug_dir = format!("/tmp/roc/gen_wasm/{:016x}", src_hash);
|
||||
std::fs::create_dir_all(&debug_dir).unwrap();
|
||||
println!(
|
||||
"Debug command:\n\twasm-objdump -sdx {}/final.wasm",
|
||||
&debug_dir
|
||||
"Debug commands:\n\twasm-objdump -dx {}/app.o\n\twasm-objdump -dx {}/final.wasm",
|
||||
&debug_dir, &debug_dir,
|
||||
);
|
||||
Path::new(&debug_dir)
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue