diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2020-04-23 05:51:07 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-23 11:51:07 +0200 |
commit | d8711155ca20fb2907beed304557d0815ac56452 (patch) | |
tree | 410c23ed6d3e520a6b335b02577ad0b29b707cf4 /cli/ops/runtime.rs | |
parent | 10a174834e6e59ea055d6098a07b82a3854a2db9 (diff) |
Rename deno_core::Isolate to deno_core::CoreIsolate (#4851)
Diffstat (limited to 'cli/ops/runtime.rs')
-rw-r--r-- | cli/ops/runtime.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cli/ops/runtime.rs b/cli/ops/runtime.rs index b1382ce36..72555344c 100644 --- a/cli/ops/runtime.rs +++ b/cli/ops/runtime.rs @@ -5,7 +5,8 @@ use crate::op_error::OpError; use crate::state::State; use crate::version; use crate::DenoSubcommand; -use deno_core::*; +use deno_core::CoreIsolate; +use deno_core::ZeroCopyBuf; use std::env; /// BUILD_OS and BUILD_ARCH match the values in Deno.build. See js/build.ts. @@ -18,7 +19,7 @@ static BUILD_OS: &str = "win"; #[cfg(target_arch = "x86_64")] static BUILD_ARCH: &str = "x64"; -pub fn init(i: &mut Isolate, s: &State) { +pub fn init(i: &mut CoreIsolate, s: &State) { i.register_op("op_start", s.stateful_json_op(op_start)); i.register_op("op_metrics", s.stateful_json_op(op_metrics)); } |