summaryrefslogtreecommitdiff
path: root/runtime/build.rs
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2023-03-20 14:05:13 -0400
committerGitHub <noreply@github.com>2023-03-20 14:05:13 -0400
commitcd53ab5427811bddbed1c30d3733e1df87bb23f9 (patch)
tree0e2ea8e1b45f2d1d4acd20b666ae1d52d40940c6 /runtime/build.rs
parentd78db7c0910aded010c2faee9a8c0f128f513985 (diff)
refactor(ext/node): untangle dependencies between js files (#18284)
Moving some code around in `ext/node` is it's a bit better well defined and makes it possible for others to embed it. I expect to see no difference in startup perf with this change.
Diffstat (limited to 'runtime/build.rs')
-rw-r--r--runtime/build.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/runtime/build.rs b/runtime/build.rs
index e655856b5..346dbe439 100644
--- a/runtime/build.rs
+++ b/runtime/build.rs
@@ -296,8 +296,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_loading::init_ops_and_esm::<Permissions>(None),
- deno_node::deno_node::init_ops_and_esm(),
+ deno_node::deno_node::init_ops_and_esm::<Permissions>(None),
#[cfg(not(feature = "snapshot_from_snapshot"))]
runtime_main::init_ops_and_esm(),
];