From fa72d63b921408d2a2ec495fcf419b5521d23087 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Tue, 15 Mar 2022 10:04:34 -0500 Subject: [PATCH] Update the v8 crate used when fuzzing (#3929) A recently discovered fuzz bug reported a difference in execution result between Wasmtime and v8. The module in question had an exported function which had multiple results, including floats. About a year ago I reported a bug on v8 about functions with multiple results leading to incorrect results, and it was fixed many months back but I don't think that we ever actually pulled in that update. After updating v8 I saw the test failure go away, so this update is being done to fix the fuzz bug test failure I saw. --- Cargo.lock | 4 ++-- crates/fuzzing/Cargo.toml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 61cedcc745..28630cb7d2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3112,9 +3112,9 @@ dependencies = [ [[package]] name = "v8" -version = "0.33.0" +version = "0.41.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b3adb16fd1af3e28d6fda8348a6d96b5363a128dc5a0216b137b64ecbae6641" +checksum = "a9c3d267007e1f137d79b4da64267139a86034a4d85df4964334979c1c7a708a" dependencies = [ "bitflags", "fslock", diff --git a/crates/fuzzing/Cargo.toml b/crates/fuzzing/Cargo.toml index fc7b01287f..06ed8f9b23 100644 --- a/crates/fuzzing/Cargo.toml +++ b/crates/fuzzing/Cargo.toml @@ -30,7 +30,7 @@ wasmi = "0.7.0" # though, so we could use that if we wanted. For now though just simplify a bit # and don't depend on this on Windows. The same applies on s390x. [target.'cfg(not(any(windows, target_arch = "s390x")))'.dependencies] -v8 = "0.33" +v8 = "0.41" [dev-dependencies] wat = "1.0.37"