about summary refs log tree commit diff
path: root/library/std/src/sys/process/unix/fuchsia.rs
diff options
context:
space:
mode:
authorjoboet <jonasboettiger@icloud.com>2025-03-27 14:20:25 +0100
committerjoboet <jonasboettiger@icloud.com>2025-04-28 11:13:50 +0200
commit5f145689b1c0a313ee737de296a57d1479c18cb5 (patch)
tree3e211a503c830d0c0d0a3470b55dab6b3ffafb63 /library/std/src/sys/process/unix/fuchsia.rs
parent0134651fb81314870903e21b1bcbdd993d75b61a (diff)
downloadrust-5f145689b1c0a313ee737de296a57d1479c18cb5.tar.gz
rust-5f145689b1c0a313ee737de296a57d1479c18cb5.zip
std: get rid of `sys_common::process`
Move the public `CommandEnvs` into the `process` module (and make it a wrapper type for an internal iterator type) and everything else into `sys::process` as per #117276.
Diffstat (limited to 'library/std/src/sys/process/unix/fuchsia.rs')
-rw-r--r--library/std/src/sys/process/unix/fuchsia.rs5
1 files changed, 0 insertions, 5 deletions
diff --git a/library/std/src/sys/process/unix/fuchsia.rs b/library/std/src/sys/process/unix/fuchsia.rs
index 0de32ecffd4..fbe06c4799b 100644
--- a/library/std/src/sys/process/unix/fuchsia.rs
+++ b/library/std/src/sys/process/unix/fuchsia.rs
@@ -31,11 +31,6 @@ impl Command {
         Ok((Process { handle: Handle::new(process_handle) }, ours))
     }
 
-    pub fn output(&mut self) -> io::Result<(ExitStatus, Vec<u8>, Vec<u8>)> {
-        let (proc, pipes) = self.spawn(Stdio::MakePipe, false)?;
-        crate::sys_common::process::wait_with_output(proc, pipes)
-    }
-
     pub fn exec(&mut self, default: Stdio) -> io::Error {
         if self.saw_nul() {
             return io::const_error!(