Update v8 used during fuzzing (#3493)

This commit updates the crate name from `rusty_v8` to `v8` as well since
the upstream bindings have sinced moved. I originally wanted to do this
to see if a fix for one of our fuzz bugs was pulled in but I don't think
the fix has been pulled in yet. Despite that it seems reasonable to go
ahead and update.
This commit is contained in:
Alex Crichton
2021-11-01 09:18:11 -05:00
committed by GitHub
parent 795e381be4
commit 9a27fdad86
4 changed files with 16 additions and 17 deletions

28
Cargo.lock generated
View File

@@ -2509,19 +2509,6 @@ dependencies = [
"wait-timeout",
]
[[package]]
name = "rusty_v8"
version = "0.27.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "81fc062fb861b82fa7ac4e1a009da873279a10180d2133574e4219d870038c1c"
dependencies = [
"bitflags",
"fslock",
"lazy_static",
"libc",
"which",
]
[[package]]
name = "ryu"
version = "1.0.5"
@@ -3056,6 +3043,19 @@ dependencies = [
"getrandom 0.2.3",
]
[[package]]
name = "v8"
version = "0.33.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9b3adb16fd1af3e28d6fda8348a6d96b5363a128dc5a0216b137b64ecbae6641"
dependencies = [
"bitflags",
"fslock",
"lazy_static",
"libc",
"which",
]
[[package]]
name = "vec_map"
version = "0.8.2"
@@ -3532,7 +3532,7 @@ dependencies = [
"env_logger 0.8.3",
"log",
"rayon",
"rusty_v8",
"v8",
"wasm-encoder",
"wasm-smith",
"wasm-spec-interpreter",

View File

@@ -27,7 +27,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]
rusty_v8 = "0.27"
v8 = "0.33"
[dev-dependencies]
wat = "1.0.37"

View File

@@ -22,7 +22,7 @@ use wasmtime::*;
use wasmtime_wast::WastContext;
#[cfg(not(any(windows, target_arch = "s390x")))]
pub use v8::*;
pub use self::v8::*;
#[cfg(not(any(windows, target_arch = "s390x")))]
mod v8;

View File

@@ -1,5 +1,4 @@
use super::{first_exported_function, first_exported_memory, log_wasm};
use rusty_v8 as v8;
use std::convert::TryFrom;
use std::sync::Once;
use wasmtime::*;