mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 09:14:20 +00:00
fixup! std: unix process: Test exit statuses / wait statuses
This commit is contained in:
parent
2727f82526
commit
281b0501f6
@ -175,7 +175,7 @@ fn unix_exit_statuses() {
|
||||
use crate::process::*;
|
||||
|
||||
for exit_code in 0..=0xff {
|
||||
// TODO impl From<ExitCode> for ExitStatus and then test that here too;
|
||||
// FIXME impl From<ExitCode> for ExitStatus and then test that here too;
|
||||
// the two ExitStatus values should be the same
|
||||
let raw_wait_status = exit_code << 8;
|
||||
let exit_status = ExitStatus::from_raw(raw_wait_status);
|
||||
|
Loading…
Reference in New Issue
Block a user