summaryrefslogtreecommitdiff
path: root/cli
diff options
context:
space:
mode:
Diffstat (limited to 'cli')
-rw-r--r--cli/args/mod.rs4
-rw-r--r--cli/worker.rs4
2 files changed, 4 insertions, 4 deletions
diff --git a/cli/args/mod.rs b/cli/args/mod.rs
index 187d3d604..0c1bd6e0a 100644
--- a/cli/args/mod.rs
+++ b/cli/args/mod.rs
@@ -917,12 +917,12 @@ impl CliOptions {
.map(Some)
}
- pub fn node_ipc_fd(&self) -> Option<i32> {
+ pub fn node_ipc_fd(&self) -> Option<i64> {
let maybe_node_channel_fd = std::env::var("DENO_CHANNEL_FD").ok();
if let Some(node_channel_fd) = maybe_node_channel_fd {
// Remove so that child processes don't inherit this environment variable.
std::env::remove_var("DENO_CHANNEL_FD");
- node_channel_fd.parse::<i32>().ok()
+ node_channel_fd.parse::<i64>().ok()
} else {
None
}
diff --git a/cli/worker.rs b/cli/worker.rs
index 2f0016581..bc611a05c 100644
--- a/cli/worker.rs
+++ b/cli/worker.rs
@@ -124,7 +124,7 @@ struct SharedWorkerState {
maybe_inspector_server: Option<Arc<InspectorServer>>,
maybe_lockfile: Option<Arc<Mutex<Lockfile>>>,
feature_checker: Arc<FeatureChecker>,
- node_ipc: Option<i32>,
+ node_ipc: Option<i64>,
}
impl SharedWorkerState {
@@ -404,7 +404,7 @@ impl CliMainWorkerFactory {
maybe_lockfile: Option<Arc<Mutex<Lockfile>>>,
feature_checker: Arc<FeatureChecker>,
options: CliMainWorkerOptions,
- node_ipc: Option<i32>,
+ node_ipc: Option<i64>,
) -> Self {
Self {
shared: Arc::new(SharedWorkerState {