summaryrefslogtreecommitdiff
path: root/ext/ffi/callback.rs
diff options
context:
space:
mode:
authorAsher Gomez <ashersaupingomez@gmail.com>2024-09-12 22:27:16 +1000
committerGitHub <noreply@github.com>2024-09-12 12:27:16 +0000
commit9e8f84214f88ae725f9a028f615b19546b9d789f (patch)
tree5a1ef949e6fd541ecc5bcf16e3bc61fbd5b6b6e7 /ext/ffi/callback.rs
parentb0265eaf8f1d42ec983c2fef0d78435239442ddc (diff)
refactor: cleanup unstable checks for WebGPU, FFI and FS APIs (#25586)
Continuation of work in #25488. --------- Signed-off-by: Asher Gomez <ashersaupingomez@gmail.com>
Diffstat (limited to 'ext/ffi/callback.rs')
-rw-r--r--ext/ffi/callback.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/ext/ffi/callback.rs b/ext/ffi/callback.rs
index 281208322..7d0114131 100644
--- a/ext/ffi/callback.rs
+++ b/ext/ffi/callback.rs
@@ -1,6 +1,5 @@
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
-use crate::check_unstable;
use crate::symbol::NativeType;
use crate::FfiPermissions;
use crate::ForeignFunction;
@@ -557,7 +556,6 @@ pub fn op_ffi_unsafe_callback_create<FP, 'scope>(
where
FP: FfiPermissions + 'static,
{
- check_unstable(state, "Deno.UnsafeCallback");
let permissions = state.borrow_mut::<FP>();
permissions.check_partial(None)?;