mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-06 15:07:36 +00:00

Fuchsia exit codes don't follow the convention of libc::WEXITSTATUS et al, and they are 64 bits instead of 32 bits. This gives Fuchsia its own representation of ExitStatus. Additionally, the zircon syscall structs were out of date, causing us to see bogus return codes.
14 lines
387 B
Rust
14 lines
387 B
Rust
pub use self::process_common::{Command, ExitCode, Stdio, StdioPipes};
|
|
pub use self::process_inner::{ExitStatus, Process};
|
|
pub use crate::ffi::OsString as EnvKey;
|
|
|
|
mod process_common;
|
|
#[cfg(not(target_os = "fuchsia"))]
|
|
#[path = "process_unix.rs"]
|
|
mod process_inner;
|
|
#[cfg(target_os = "fuchsia")]
|
|
#[path = "process_fuchsia.rs"]
|
|
mod process_inner;
|
|
#[cfg(target_os = "fuchsia")]
|
|
mod zircon;
|