summaryrefslogtreecommitdiff
path: root/runtime/build.rs
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/build.rs')
-rw-r--r--runtime/build.rs8
1 files changed, 1 insertions, 7 deletions
diff --git a/runtime/build.rs b/runtime/build.rs
index 2f3b12595..bba2eae55 100644
--- a/runtime/build.rs
+++ b/runtime/build.rs
@@ -215,12 +215,6 @@ mod startup_snapshot {
}
}
- struct SnapshotNodeEnv;
-
- impl deno_node::NodeEnv for SnapshotNodeEnv {
- type P = Permissions;
- }
-
deno_core::extension!(runtime,
deps = [
deno_webidl,
@@ -320,7 +314,7 @@ mod startup_snapshot {
runtime::init_ops_and_esm(),
// FIXME(bartlomieju): these extensions are specified last, because they
// depend on `runtime`, even though it should be other way around
- deno_node::deno_node::init_ops_and_esm::<SnapshotNodeEnv>(None, None),
+ deno_node::deno_node::init_ops_and_esm::<Permissions>(None, None),
#[cfg(not(feature = "snapshot_from_snapshot"))]
runtime_main::init_ops_and_esm(),
];