diff options
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/build.rs | 8 | ||||
-rw-r--r-- | runtime/permissions/mod.rs | 6 |
2 files changed, 0 insertions, 14 deletions
diff --git a/runtime/build.rs b/runtime/build.rs index 6684afe09..dec687b6e 100644 --- a/runtime/build.rs +++ b/runtime/build.rs @@ -55,14 +55,6 @@ mod startup_snapshot { fn allow_hrtime(&mut self) -> bool { unreachable!("snapshotting!") } - - fn check_unstable( - &self, - _state: &deno_core::OpState, - _api_name: &'static str, - ) { - unreachable!("snapshotting!") - } } impl deno_ffi::FfiPermissions for Permissions { diff --git a/runtime/permissions/mod.rs b/runtime/permissions/mod.rs index 77f44b813..34d7f0a1b 100644 --- a/runtime/permissions/mod.rs +++ b/runtime/permissions/mod.rs @@ -15,7 +15,6 @@ use deno_core::serde_json; use deno_core::url; use deno_core::url::Url; use deno_core::ModuleSpecifier; -use deno_core::OpState; use log; use once_cell::sync::Lazy; use std::borrow::Cow; @@ -1434,11 +1433,6 @@ impl deno_web::TimersPermission for PermissionsContainer { fn allow_hrtime(&mut self) -> bool { self.0.lock().hrtime.check().is_ok() } - - #[inline(always)] - fn check_unstable(&self, state: &OpState, api_name: &'static str) { - crate::ops::check_unstable(state, api_name); - } } impl deno_websocket::WebSocketPermissions for PermissionsContainer { |