Printing wasm file name and config if engine init fails
@@ -411,11 +411,10 @@ impl State {
// Spwan compilation
for (engine, optlevel) in &self.engines {
let module = wasmtime::Module::new(&engine, &data).with_context(|| {
- self.save_crash(&data, Some(&data), self.seed, artifact_folder);
format!(
- "The mutated Wasm should be valid, wasm file {:?}, seed {:?}",
+ "The mutated Wasm should be valid, wasm file {:?}, config {:?}",
entry.display(),
- self.seed
+ optlevel,
)
})?;
