summaryrefslogtreecommitdiff
path: root/runtime/ops
diff options
context:
space:
mode:
authorsnek <snek@deno.com>2024-08-02 11:16:59 -0700
committerGitHub <noreply@github.com>2024-08-02 18:16:59 +0000
commit71ca61e189cca9215982ce4598b7a4da8430c584 (patch)
treea0dd2aa94cf61103b1dbcfa28a6c67feebf6eedd /runtime/ops
parent3a1a1cc030fb7fc90d51ee27162466d6ac924926 (diff)
Revert "feat: async context" (#24856)
Reverts denoland/deno#24402 deno_web can't depend on code in runtime
Diffstat (limited to 'runtime/ops')
-rw-r--r--runtime/ops/runtime.rs11
1 files changed, 1 insertions, 10 deletions
diff --git a/runtime/ops/runtime.rs b/runtime/ops/runtime.rs
index b52a23f30..306e6ce8f 100644
--- a/runtime/ops/runtime.rs
+++ b/runtime/ops/runtime.rs
@@ -2,14 +2,13 @@
use deno_core::error::AnyError;
use deno_core::op2;
-use deno_core::v8;
use deno_core::ModuleSpecifier;
use deno_core::OpState;
use deno_permissions::PermissionsContainer;
deno_core::extension!(
deno_runtime,
- ops = [op_main_module, op_ppid, op_get_extras_binding_object],
+ ops = [op_main_module, op_ppid],
options = { main_module: ModuleSpecifier },
state = |state, options| {
state.put::<ModuleSpecifier>(options.main_module);
@@ -95,11 +94,3 @@ pub fn op_ppid() -> i64 {
parent_id().into()
}
}
-
-#[op2]
-pub fn op_get_extras_binding_object<'a>(
- scope: &mut v8::HandleScope<'a>,
-) -> v8::Local<'a, v8::Value> {
- let context = scope.get_current_context();
- context.get_extras_binding_object(scope).into()
-}