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

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::*;