Upgrade to rusty_v8 v0.4.0 (#4856)

This commit is contained in:
Bert Belder 2020-04-22 20:24:49 +02:00
parent c43aaa3996
commit 10a174834e
No known key found for this signature in database
GPG key ID: 7A77887B2E2ED461
9 changed files with 131 additions and 118 deletions

View file

@ -24,7 +24,7 @@ pub static WINDOW_LIB: &str = include_str!("js/lib.deno.window.d.ts");
#[test]
fn cli_snapshot() {
let mut isolate = deno_core::Isolate::new(
deno_core::StartupData::Snapshot(CLI_SNAPSHOT),
deno_core::StartupData::Snapshot(deno_core::Snapshot::Static(CLI_SNAPSHOT)),
false,
);
deno_core::js_check(isolate.execute(
@ -41,7 +41,9 @@ fn cli_snapshot() {
#[test]
fn compiler_snapshot() {
let mut isolate = deno_core::Isolate::new(
deno_core::StartupData::Snapshot(COMPILER_SNAPSHOT),
deno_core::StartupData::Snapshot(deno_core::Snapshot::Static(
COMPILER_SNAPSHOT,
)),
false,
);
deno_core::js_check(isolate.execute(