mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 14:54:47 +00:00
Revert "conditionally automatically show wasm-objdump in terminal"
This reverts commit 64bf7253d1
.
This commit is contained in:
parent
64bf7253d1
commit
f6b5087d29
1 changed files with 2 additions and 11 deletions
|
@ -132,23 +132,14 @@ pub fn helper_wasm<'a, T: Wasm32TestResult>(
|
|||
let path = format!("{}/test-{:016x}.wasm", dir, src_hash);
|
||||
|
||||
// Print out filename (appears just after test name)
|
||||
println!("dumping file {:?}", &path);
|
||||
println!("dumping file {:?}", path);
|
||||
|
||||
match std::fs::File::create(&path) {
|
||||
match std::fs::File::create(path) {
|
||||
Err(e) => eprintln!("Problem creating wasm debug file: {:?}", e),
|
||||
Ok(mut file) => {
|
||||
file.write_all(&module_bytes).unwrap();
|
||||
}
|
||||
}
|
||||
|
||||
if false {
|
||||
let output = std::process::Command::new("wasm-objdump")
|
||||
.args(&["-xd", &path])
|
||||
.output()
|
||||
.unwrap();
|
||||
|
||||
std::io::stderr().write_all(&output.stdout).unwrap();
|
||||
}
|
||||
}
|
||||
|
||||
// now, do wasmer stuff
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue