diff options
author | Luca Casonato <hello@lcas.dev> | 2023-05-04 14:36:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-04 14:36:38 +0200 |
commit | 95e209a0e4ef0e4a0b886583057b84ef204261d3 (patch) | |
tree | fe7bc059375068e0ec9ab8b7858ac62cb888c177 /runtime/build.rs | |
parent | b8d0e616eaedb81a759c41d5009921bcc6b0b0bf (diff) |
refactor(ext/node): remove NodeEnv trait (#18986)
Diffstat (limited to 'runtime/build.rs')
-rw-r--r-- | runtime/build.rs | 8 |
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(), ]; |