summaryrefslogtreecommitdiff
path: root/src/isolate.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/isolate.rs')
-rw-r--r--src/isolate.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/isolate.rs b/src/isolate.rs
index 99e3670f2..2305a62a9 100644
--- a/src/isolate.rs
+++ b/src/isolate.rs
@@ -144,10 +144,12 @@ impl Isolate {
unsafe { libdeno::deno_init() };
});
let config = libdeno::deno_config {
+ will_snapshot: 0,
+ load_snapshot: snapshot,
shared: libdeno::deno_buf::empty(), // TODO Use for message passing.
recv_cb: pre_dispatch,
};
- let libdeno_isolate = unsafe { libdeno::deno_new(snapshot, config) };
+ let libdeno_isolate = unsafe { libdeno::deno_new(config) };
// This channel handles sending async messages back to the runtime.
let (tx, rx) = mpsc::channel::<(i32, Buf)>();