about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2016-05-09 12:50:20 -0700
committerManish Goregaokar <manishsmail@gmail.com>2016-05-09 14:59:20 -0700
commitd394aa064e54943fcf3e1c73007e4b17a13328ca (patch)
tree3692b59628ee281458df6b44b6cb661ca8c51f61 /src/rustllvm/RustWrapper.cpp
parentfaca79fc332f62b339aee5bd994b00e52d9ac051 (diff)
parent7f09b1f6a64339370440025d50d0ad4a7f239734 (diff)
downloadrust-d394aa064e54943fcf3e1c73007e4b17a13328ca.tar.gz
rust-d394aa064e54943fcf3e1c73007e4b17a13328ca.zip
Rollup 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/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions