-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCLibs-TrackedLibs issues that are tracked on the team's project board.Libs issues that are tracked on the team's project board.T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.
Description
Feature gate: #![feature(unix_process_wait_more)]
This is a tracking issue for a collection of logically necessary but previously missing methods on ExitStatusExt
, the Unix-specific extension trait for ExitStatus
.
Public API
// std::src::sys::unix::ext::process
pub trait ExitStatusExt : private::Sealed {
// this feature gate adds these methods:
fn core_dumped(&self) -> bool; // WCOREDUMP
fn stopped_signal(&self) -> Option<i32>; // WIFSTOPPED? WSTOPSIG
fn continued(&self) -> bool; // WIFCONTINUED
fn into_raw(self) -> i32;
}
Steps / History
- Implementation: Add missing methods to unix ExitStatusExt #79982
- Check that nothing broke due to us sealing the
ExitStatusExt
trait on both Unix and Windows - What to do about the Fuchsia implementation? Needs eyes from a Fuchsia dev
- Final commenting period (FCP)
- Stabilization PR: Stabilise unix_process_wait_more, extra ExitStatusExt methods #88300
Unresolved Questions
- None;
other than the breakage risk due to sealing this trait.the trait has been sealed for some time now.
stepancheg
Metadata
Metadata
Assignees
Labels
C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCLibs-TrackedLibs issues that are tracked on the team's project board.Libs issues that are tracked on the team's project board.T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.