Skip to content

Commit df43062

Browse files
authored
Rollup merge of rust-lang#88300 - ijackson:exitstatusext-methods, r=yaahc
Stabilise unix_process_wait_more, extra ExitStatusExt methods This stabilises the feature `unix_process_wait_more`. Tracking issue rust-lang#80695, FCP needed. This was implemented in rust-lang#79982 and merged in January.
2 parents 5ea0274 + 2ed5665 commit df43062

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

library/std/src/os/unix/process.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -239,27 +239,27 @@ pub trait ExitStatusExt: Sealed {
239239
fn signal(&self) -> Option<i32>;
240240

241241
/// If the process was terminated by a signal, says whether it dumped core.
242-
#[unstable(feature = "unix_process_wait_more", issue = "80695")]
242+
#[stable(feature = "unix_process_wait_more", since = "1.58.0")]
243243
fn core_dumped(&self) -> bool;
244244

245245
/// If the process was stopped by a signal, returns that signal.
246246
///
247247
/// In other words, if `WIFSTOPPED`, this returns `WSTOPSIG`. This is only possible if the status came from
248248
/// a `wait` system call which was passed `WUNTRACED`, and was then converted into an `ExitStatus`.
249-
#[unstable(feature = "unix_process_wait_more", issue = "80695")]
249+
#[stable(feature = "unix_process_wait_more", since = "1.58.0")]
250250
fn stopped_signal(&self) -> Option<i32>;
251251

252252
/// Whether the process was continued from a stopped status.
253253
///
254254
/// Ie, `WIFCONTINUED`. This is only possible if the status came from a `wait` system call
255255
/// which was passed `WCONTINUED`, and was then converted into an `ExitStatus`.
256-
#[unstable(feature = "unix_process_wait_more", issue = "80695")]
256+
#[stable(feature = "unix_process_wait_more", since = "1.58.0")]
257257
fn continued(&self) -> bool;
258258

259259
/// Returns the underlying raw `wait` status.
260260
///
261261
/// The returned integer is a **wait status, not an exit status**.
262-
#[unstable(feature = "unix_process_wait_more", issue = "80695")]
262+
#[stable(feature = "unix_process_wait_more", since = "1.58.0")]
263263
fn into_raw(self) -> i32;
264264
}
265265

0 commit comments

Comments
 (0)