summaryrefslogtreecommitdiff
path: root/deno_typescript
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2020-01-06 16:24:44 +0100
committerGitHub <noreply@github.com>2020-01-06 16:24:44 +0100
commit870622d3ccb3589eeb72a439717edf7e40d9b093 (patch)
treee5ec609e0c7d2ba701a7ff29e79982faaffb08d5 /deno_typescript
parent4e1a638bc53bbc0e73418271053e7ca2e6389a8e (diff)
merge libdeno::DenoIsolate into core::Isolate (#3605)
Diffstat (limited to 'deno_typescript')
-rw-r--r--deno_typescript/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/deno_typescript/lib.rs b/deno_typescript/lib.rs
index c7de33215..2d459f98f 100644
--- a/deno_typescript/lib.rs
+++ b/deno_typescript/lib.rs
@@ -62,7 +62,7 @@ where
}
pub struct TSIsolate {
- isolate: Isolate,
+ isolate: Box<Isolate>,
state: Arc<Mutex<TSState>>,
}
@@ -220,7 +220,7 @@ pub fn mksnapshot_bundle_ts(
}
fn write_snapshot(
- mut runtime_isolate: Isolate,
+ mut runtime_isolate: Box<Isolate>,
bundle: &Path,
) -> Result<(), ErrBox> {
println!("creating snapshot...");