Use wasm-smith to canonicalize NaN in differential fuzzing (#3195)

* Update wasm-smith to 0.7.0

* Canonicalize NaN with wasm-smith for differential fuzzing

This then also enables floating point executing in wasmi in addition to
the spec interpreter. With NaN canonicalization at the wasm level this
means that we should be producing deterministic results between Wasmtime
and these alternative implementations.
This commit is contained in:
Alex Crichton
2021-08-17 11:42:22 -05:00
committed by GitHub
parent c205719481
commit 0642e62f16
10 changed files with 63 additions and 64 deletions

View File

@@ -20,7 +20,7 @@ target-lexicon = "0.12"
peepmatic-fuzzing = { path = "../cranelift/peepmatic/crates/fuzzing", optional = true }
wasmtime = { path = "../crates/wasmtime" }
wasmtime-fuzzing = { path = "../crates/fuzzing" }
wasm-smith = "0.6.0"
wasm-smith = "0.7.0"
[features]
# Leave a stub feature with no side-effects in place for now: the OSS-Fuzz