-
-
Notifications
You must be signed in to change notification settings - Fork 17.4k
Tracking Issue for abort_immediate (abort in core) #154601
Copy link
Copy link
Open
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 RFCS-waiting-on-bikeshedStatus: Awaiting a decision on trivial things.Status: Awaiting a decision on trivial things.T-libsRelevant to the library team, which will review and decide on the PR/issue.Relevant to the library team, which will review and decide on the PR/issue.
Description
Activity
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 RFCS-waiting-on-bikeshedStatus: Awaiting a decision on trivial things.Status: Awaiting a decision on trivial things.T-libsRelevant to the library team, which will review and decide on the PR/issue.Relevant to the library team, which will review and decide on the PR/issue.
Feature gate:
#![feature(abort_immediate)]This is a tracking issue for
core::process::abort_immediate.abort_immediateaborts/halts/crashes the process with as little overhead as possible. This exposesintrinsics::abort's behavior to stable. This is also reexported asstd::process::abort_immediate.Public API
Steps / History
(Remember to update the
S-tracking-*label when checking boxes.)Unresolved Questions
core::process::abortto opportunistically dostd::process::abortif possible andabort_immediateotherwise, do we even want to expose a separateabort_immediate?process::crash,process::halt, or others.core::processa reasonable home for this? It will be the first item.Footnotes
https://std-dev-guide.rust-lang.org/feature-lifecycle/stabilization.html ↩