Merge pull request #2348 from alexcrichton/log-wat
Print a message in `log_wat` while fuzzing
This commit is contained in:
@@ -44,6 +44,7 @@ fn log_wat(wat: &str) {
|
||||
|
||||
let i = CNT.fetch_add(1, SeqCst);
|
||||
let name = format!("testcase{}.wat", i);
|
||||
log::debug!("wrote wat file to `{}`", name);
|
||||
std::fs::write(&name, wat).expect("failed to write wat file");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user