summaryrefslogtreecommitdiff
path: root/ext/ffi/call.rs
diff options
context:
space:
mode:
authorMatt Mastracci <matthew@mastracci.com>2023-12-11 20:10:33 -0700
committerGitHub <noreply@github.com>2023-12-12 03:10:33 +0000
commita4f45f709278208cb61501df2792412f11aed3c4 (patch)
treec8e0eaff17141fd5a8097fe2870efb4bca05e431 /ext/ffi/call.rs
parentd13e45f2b3e50b85953c31d9c16e35d0cd87545f (diff)
perf(ext/ffi): switch from middleware to tasks (#21239)
Deno-side changes for https://github.com/denoland/deno_core/pull/350 --------- Co-authored-by: Aapo Alasuutari <aapo.alasuutari@gmail.com>
Diffstat (limited to 'ext/ffi/call.rs')
-rw-r--r--ext/ffi/call.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/ffi/call.rs b/ext/ffi/call.rs
index ea7875108..d0162d7d5 100644
--- a/ext/ffi/call.rs
+++ b/ext/ffi/call.rs
@@ -368,7 +368,7 @@ pub fn op_ffi_call_nonblocking(
})
}
-#[op2]
+#[op2(reentrant)]
#[serde]
pub fn op_ffi_call_ptr<FP>(
scope: &mut v8::HandleScope,