diff options
author | Aapo Alasuutari <aapo.alasuutari@gmail.com> | 2023-02-28 08:26:48 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-28 08:26:48 +0200 |
commit | 4835098cf7ad2dd0641c14a2adf44ce233ba286c (patch) | |
tree | d84626d2e7e95c8276d289422ef6f18bc49b910e /ext/web/benches/timers_ops.rs | |
parent | 7c090b1b14e6b5000dbbed434525387c414ca62c (diff) |
fix(ext/ffi): Remove deno_core::OpState qualifiers, fix ops returning pointer defaults (#17959)
Diffstat (limited to 'ext/web/benches/timers_ops.rs')
-rw-r--r-- | ext/web/benches/timers_ops.rs | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/ext/web/benches/timers_ops.rs b/ext/web/benches/timers_ops.rs index 657082df4..f177f7d83 100644 --- a/ext/web/benches/timers_ops.rs +++ b/ext/web/benches/timers_ops.rs @@ -7,6 +7,7 @@ use deno_bench_util::bencher::Bencher; use deno_core::Extension; use deno_core::ExtensionFileSource; use deno_core::ExtensionFileSourceCode; +use deno_core::OpState; use deno_web::BlobStore; struct Permissions; @@ -15,12 +16,7 @@ impl deno_web::TimersPermission for Permissions { fn allow_hrtime(&mut self) -> bool { true } - fn check_unstable( - &self, - _state: &deno_core::OpState, - _api_name: &'static str, - ) { - } + fn check_unstable(&self, _state: &OpState, _api_name: &'static str) {} } fn setup() -> Vec<Extension> { |