about summary refs log tree commit diff
path: root/src/libstd/sys/unix/process/mod.rs
AgeCommit message (Collapse)AuthorLines
2020-07-27mv std libs to library/mark-13/+0
2019-09-25Fix ExitStatus on FuchsiaTyler Mandry-2/+2
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.
2019-09-05std: Improve downstream codegen in `Command::env`Alex Crichton-0/+1
This commit rejiggers the generics used in the implementation of `Command::env` with the purpose of reducing the amount of codegen that needs to happen in consumer crates, instead preferring to generate code into libstd. This was found when profiling the compile times of the `cc` crate where the binary rlib produced had a lot of `BTreeMap` code compiled into it but the crate doesn't actually use `BTreeMap`. It turns out that `Command::env` is generic enough to codegen the entire implementation in calling crates, but in this case there's no performance concern so it's fine to compile the code into the standard library. This change is done by removing the generic on the `CommandEnv` map which is intended to handle case-insensitive variables on Windows. Instead now a generic isn't used but rather a `use` statement defined per-platform is used. With this commit a debug build of `Command::new("foo").env("a", "b")` drops from 21k lines of LLVM IR to 10k.
2018-12-25Remove licensesMark Rousskov-10/+0
2018-03-03Move process::ExitCode internals to sysScott McMurray-1/+1
Now begins the saga of fixing compilation errors on other platforms...
2017-09-24The Magenta kernel is now called Zircon.P.Y. Laligand-1/+1
2016-12-01std::process fuchsia support cleanupTheodore DeRego-0/+2
2016-11-23Separated fuchsia-specific process stuff into 'process_fuchsia.rs' and ↵Theodore DeRego-0/+20
refactored out some now-duplicated code into a 'process_common.rs'