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:
28
Cargo.lock
generated
28
Cargo.lock
generated
@@ -2509,19 +2509,6 @@ dependencies = [
|
|||||||
"wait-timeout",
|
"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]]
|
[[package]]
|
||||||
name = "ryu"
|
name = "ryu"
|
||||||
version = "1.0.5"
|
version = "1.0.5"
|
||||||
@@ -3056,6 +3043,19 @@ dependencies = [
|
|||||||
"getrandom 0.2.3",
|
"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]]
|
[[package]]
|
||||||
name = "vec_map"
|
name = "vec_map"
|
||||||
version = "0.8.2"
|
version = "0.8.2"
|
||||||
@@ -3532,7 +3532,7 @@ dependencies = [
|
|||||||
"env_logger 0.8.3",
|
"env_logger 0.8.3",
|
||||||
"log",
|
"log",
|
||||||
"rayon",
|
"rayon",
|
||||||
"rusty_v8",
|
"v8",
|
||||||
"wasm-encoder",
|
"wasm-encoder",
|
||||||
"wasm-smith",
|
"wasm-smith",
|
||||||
"wasm-spec-interpreter",
|
"wasm-spec-interpreter",
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ wasmi = "0.7.0"
|
|||||||
# though, so we could use that if we wanted. For now though just simplify a bit
|
# 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.
|
# and don't depend on this on Windows. The same applies on s390x.
|
||||||
[target.'cfg(not(any(windows, target_arch = "s390x")))'.dependencies]
|
[target.'cfg(not(any(windows, target_arch = "s390x")))'.dependencies]
|
||||||
rusty_v8 = "0.27"
|
v8 = "0.33"
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
wat = "1.0.37"
|
wat = "1.0.37"
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ use wasmtime::*;
|
|||||||
use wasmtime_wast::WastContext;
|
use wasmtime_wast::WastContext;
|
||||||
|
|
||||||
#[cfg(not(any(windows, target_arch = "s390x")))]
|
#[cfg(not(any(windows, target_arch = "s390x")))]
|
||||||
pub use v8::*;
|
pub use self::v8::*;
|
||||||
#[cfg(not(any(windows, target_arch = "s390x")))]
|
#[cfg(not(any(windows, target_arch = "s390x")))]
|
||||||
mod v8;
|
mod v8;
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
use super::{first_exported_function, first_exported_memory, log_wasm};
|
use super::{first_exported_function, first_exported_memory, log_wasm};
|
||||||
use rusty_v8 as v8;
|
|
||||||
use std::convert::TryFrom;
|
use std::convert::TryFrom;
|
||||||
use std::sync::Once;
|
use std::sync::Once;
|
||||||
use wasmtime::*;
|
use wasmtime::*;
|
||||||
|
|||||||
Reference in New Issue
Block a user