diff options
author | Divy Srivastava <dj.srivastava23@gmail.com> | 2023-12-15 16:20:05 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-15 11:50:05 +0100 |
commit | 81a6504e670d32bdc5e0a8328c328fdf8e208913 (patch) | |
tree | 27a90846e42edd1863e45e9792375d7777f10667 /runtime/worker_bootstrap.rs | |
parent | 62e3f5060ef9cc6a31b3e496dd15548c0abd07e6 (diff) |
refactor: setup child process pipe in Rust (#21579)
Avoid passing the fd into JS and back into Rust. Instead we setup the
child's end of the pipe directly using a special Rust op.
Diffstat (limited to 'runtime/worker_bootstrap.rs')
-rw-r--r-- | runtime/worker_bootstrap.rs | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/runtime/worker_bootstrap.rs b/runtime/worker_bootstrap.rs index 8674190f3..97d66158b 100644 --- a/runtime/worker_bootstrap.rs +++ b/runtime/worker_bootstrap.rs @@ -117,8 +117,6 @@ struct BootstrapV8<'a>( bool, // maybe_binary_npm_command_name Option<&'a str>, - // node_ipc_fd - i32, ); impl BootstrapOptions { @@ -138,7 +136,6 @@ impl BootstrapOptions { self.enable_testing_features, self.has_node_modules_dir, self.maybe_binary_npm_command_name.as_deref(), - self.node_ipc_fd.unwrap_or(-1), ); bootstrap.serialize(ser).unwrap() |