about summary refs log tree commit diff
path: root/src/libsyntax/errors
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2016-05-09 14:04:08 -0700
committerbors <bors@rust-lang.org>2016-05-09 14:04:08 -0700
commit0e7cb8bc31413c9ea08c67c4d66318a7e9cbfb66 (patch)
tree3692b59628ee281458df6b44b6cb661ca8c51f61 /src/libsyntax/errors
parentfaca79fc332f62b339aee5bd994b00e52d9ac051 (diff)
parent7f09b1f6a64339370440025d50d0ad4a7f239734 (diff)
downloadrust-0e7cb8bc31413c9ea08c67c4d66318a7e9cbfb66.tar.gz
rust-0e7cb8bc31413c9ea08c67c4d66318a7e9cbfb66.zip
Auto merge of #33224 - alexcrichton:create-exit-status, r=aturon
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