diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2018-11-14 21:54:21 -0500 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2018-11-16 08:25:54 +0800 |
commit | 9d9853b319a8a989080cf01d2f748b8fe844a812 (patch) | |
tree | 90aeaa2ce98964a0284134b52bd1cc1831187def /src/main.rs | |
parent | b2bc0a7fc9291d1131c9b577768608e7911ea931 (diff) |
Lift snapshot to be an argument of Isolate::new().
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index 6530c37fc..b05a41642 100644 --- a/src/main.rs +++ b/src/main.rs @@ -95,7 +95,12 @@ fn main() { log::LevelFilter::Info }); - let mut isolate = isolate::Isolate::new(flags, rest_argv, ops::dispatch); + let mut isolate = isolate::Isolate::new( + snapshot::deno_snapshot(), + flags, + rest_argv, + ops::dispatch, + ); tokio_util::init(|| { isolate .execute("deno_main.js", "denoMain();") |