about summary refs log tree commit diff
path: root/library/std/src/sys/process/unix/common.rs
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2025-09-23 09:28:24 +0200
committerRalf Jung <post@ralfj.de>2025-09-23 09:28:24 +0200
commit0cd72a2f8d90672d0c7ce38a4e0d6ac3975aafbb (patch)
tree406fd3b8a96508cae5b1ac33ccc57ca641f4cc85 /library/std/src/sys/process/unix/common.rs
parent3c8d8da693eb5d63099eef5cf4a73106a3a2ba25 (diff)
parentf6092f224d2b1774b31033f12d0bee626943b02f (diff)
downloadrust-0cd72a2f8d90672d0c7ce38a4e0d6ac3975aafbb.tar.gz
rust-0cd72a2f8d90672d0c7ce38a4e0d6ac3975aafbb.zip
Merge ref 'f6092f224d2b' from rust-lang/rust
Pull recent changes from https://github.com/rust-lang/rust via Josh.

Upstream ref: f6092f224d2b1774b31033f12d0bee626943b02f
Filtered ref: f843cd4f29bdcd8d474dbb9e5e4365eb7f263ec6

This merge was created using https://github.com/rust-lang/josh-sync.
Diffstat (limited to 'library/std/src/sys/process/unix/common.rs')
-rw-r--r--library/std/src/sys/process/unix/common.rs9
1 files changed, 1 insertions, 8 deletions
diff --git a/library/std/src/sys/process/unix/common.rs b/library/std/src/sys/process/unix/common.rs
index ea45b08e90a..1d5909e99ba 100644
--- a/library/std/src/sys/process/unix/common.rs
+++ b/library/std/src/sys/process/unix/common.rs
@@ -9,6 +9,7 @@ use crate::collections::BTreeMap;
 use crate::ffi::{CStr, CString, OsStr, OsString};
 use crate::os::unix::prelude::*;
 use crate::path::Path;
+use crate::process::StdioPipes;
 use crate::sys::fd::FileDesc;
 use crate::sys::fs::File;
 #[cfg(not(target_os = "fuchsia"))]
@@ -104,14 +105,6 @@ pub struct Command {
     setsid: bool,
 }
 
-// passed back to std::process with the pipes connected to the child, if any
-// were requested
-pub struct StdioPipes {
-    pub stdin: Option<AnonPipe>,
-    pub stdout: Option<AnonPipe>,
-    pub stderr: Option<AnonPipe>,
-}
-
 // passed to do_exec() with configuration of what the child stdio should look
 // like
 #[cfg_attr(target_os = "vita", allow(dead_code))]