diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2018-11-12 17:17:30 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-12 17:17:30 -0800 |
commit | 92e404706b0b1a26cdaf6f8cf81aac148292557f (patch) | |
tree | 96a5d48b7dc6cddb6068d57dbffd88abb2e791f9 /src/isolate.rs | |
parent | 0c740ff85d855177d1619276154f63a36ed31557 (diff) |
Use include_bytes! instead of incbin. (#1182)
Diffstat (limited to 'src/isolate.rs')
-rw-r--r-- | src/isolate.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/isolate.rs b/src/isolate.rs index 15a76ba3c..6e8b1864d 100644 --- a/src/isolate.rs +++ b/src/isolate.rs @@ -139,7 +139,7 @@ impl Isolate { }); let shared = empty(); // TODO Use shared for message passing. let libdeno_isolate = unsafe { - libdeno::deno_new(snapshot::deno_snapshot.clone(), shared, pre_dispatch) + libdeno::deno_new(snapshot::deno_snapshot(), shared, pre_dispatch) }; // This channel handles sending async messages back to the runtime. let (tx, rx) = mpsc::channel::<(i32, Buf)>(); |