about summary refs log tree commit diff
path: root/library/std/src/sys/process/unix/unix.rs
diff options
context:
space:
mode:
authorjoboet <jonasboettiger@icloud.com>2025-09-16 15:48:43 +0200
committerjoboet <jonasboettiger@icloud.com>2025-09-21 19:45:46 +0200
commit87a00f67ba4c8148e6aa2e1768025b9d51a0fa8b (patch)
treef1ef39f35d44e02ccbb151a001d65dd0676b9b9f /library/std/src/sys/process/unix/unix.rs
parent6710835ae739ca326441ff6c63d24fb123858300 (diff)
downloadrust-87a00f67ba4c8148e6aa2e1768025b9d51a0fa8b.tar.gz
rust-87a00f67ba4c8148e6aa2e1768025b9d51a0fa8b.zip
std: merge definitions of `StdioPipes`
All platforms define this structure the same way, so we can just put it in the `process` module directly.
Diffstat (limited to 'library/std/src/sys/process/unix/unix.rs')
-rw-r--r--library/std/src/sys/process/unix/unix.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/library/std/src/sys/process/unix/unix.rs b/library/std/src/sys/process/unix/unix.rs
index 11d48878727..7d944f2f7ee 100644
--- a/library/std/src/sys/process/unix/unix.rs
+++ b/library/std/src/sys/process/unix/unix.rs
@@ -13,6 +13,7 @@ use libc::{gid_t, uid_t};
 use super::common::*;
 use crate::io::{self, Error, ErrorKind};
 use crate::num::NonZero;
+use crate::process::StdioPipes;
 use crate::sys::cvt;
 #[cfg(target_os = "linux")]
 use crate::sys::pal::linux::pidfd::PidFd;