diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2016-04-26 15:23:46 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2016-04-26 23:35:59 -0700 |
| commit | 7f09b1f6a64339370440025d50d0ad4a7f239734 (patch) | |
| tree | 48c65ea79997aa1193467936a1ecadd5091a317d /src/libsyntax/errors | |
| parent | 092b0738b7f00740c997a3fb99dd0b8b50c4c157 (diff) | |
| download | rust-7f09b1f6a64339370440025d50d0ad4a7f239734.tar.gz rust-7f09b1f6a64339370440025d50d0ad4a7f239734.zip | |
std: Allow creating ExitStatus from raw values
Sometimes a process may be waited on externally from the standard library, in which case it can be useful to create a raw `ExitStatus` structure to return. This commit extends the existing Unix `ExitStatusExt` extension trait and adds a new Windows-specific `ExitStatusExt` extension trait to do this. The methods are currently called `ExitStatus::from_raw`. cc #32713
Diffstat (limited to 'src/libsyntax/errors')
0 files changed, 0 insertions, 0 deletions
