diff options
| author | bors <bors@rust-lang.org> | 2023-11-23 20:30:59 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-11-23 20:30:59 +0000 |
| commit | a1a37735cbc3db359d0b24ba9085c9fcbe1bc274 (patch) | |
| tree | 54be52703aac89876305e9919838313ad50dde52 /library | |
| parent | a4a5c976fee30bdd350aa0df10b14cb87ade48fe (diff) | |
| parent | 52c07b9564654603af8972e93682fe887126d090 (diff) | |
| download | rust-a1a37735cbc3db359d0b24ba9085c9fcbe1bc274.tar.gz rust-a1a37735cbc3db359d0b24ba9085c9fcbe1bc274.zip | |
Auto merge of #118218 - dtolnay:exitcodeext, r=compiler-errors
Fix tracking issue of Windows ExitCodeExt Tracking issue: https://github.com/rust-lang/rust/issues/111688 This was left out of the initial ExitCodeExt implementation in https://github.com/rust-lang/rust/pull/97917.
Diffstat (limited to 'library')
| -rw-r--r-- | library/std/src/os/windows/process.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/library/std/src/os/windows/process.rs b/library/std/src/os/windows/process.rs index d00e79476f3..5bf0154eae3 100644 --- a/library/std/src/os/windows/process.rs +++ b/library/std/src/os/windows/process.rs @@ -347,7 +347,7 @@ impl ChildExt for process::Child { /// /// This trait is sealed: it cannot be implemented outside the standard library. /// This is so that future additional methods are not breaking changes. -#[unstable(feature = "windows_process_exit_code_from", issue = "none")] +#[unstable(feature = "windows_process_exit_code_from", issue = "111688")] pub trait ExitCodeExt: Sealed { /// Creates a new `ExitCode` from the raw underlying `u32` return value of /// a process. @@ -355,11 +355,11 @@ pub trait ExitCodeExt: Sealed { /// The exit code should not be 259, as this conflicts with the `STILL_ACTIVE` /// macro returned from the `GetExitCodeProcess` function to signal that the /// process has yet to run to completion. - #[unstable(feature = "windows_process_exit_code_from", issue = "none")] + #[unstable(feature = "windows_process_exit_code_from", issue = "111688")] fn from_raw(raw: u32) -> Self; } -#[unstable(feature = "windows_process_exit_code_from", issue = "none")] +#[unstable(feature = "windows_process_exit_code_from", issue = "111688")] impl ExitCodeExt for process::ExitCode { fn from_raw(raw: u32) -> Self { process::ExitCode::from_inner(From::from(raw)) |
