A lightweight WebAssembly runtime that is fast, secure, and standards-compliant
Adjust error matching predicate during fuzzing (#13206)
Alex Crichton6d9f30ba43aa
diff --git a/crates/fuzzing/src/oracles/diff_wasmtime.rs b/crates/fuzzing/src/oracles/diff_wasmtime.rsindex 60f7ee6faf..9937b928ee 100644--- a/crates/fuzzing/src/oracles/diff_wasmtime.rs+++ b/crates/fuzzing/src/oracles/diff_wasmtime.rs@@ -65,10 +65,7 @@ impl DiffEngine for WasmtimeEngine {}fn is_non_deterministic_error(&self, err: &Error) -> bool {- match err.downcast_ref::<Trap>() {- Some(trap) => super::wasmtime_trap_is_non_deterministic(trap),- None => false,- }+ super::wasmtime_error_is_non_deterministic(err)}}