Stabilize process_abort feature, closes #37838
This commit is contained in:
parent
d38ea8b371
commit
9511fe60ce
@ -1032,7 +1032,7 @@ pub fn exit(code: i32) -> ! {
|
||||
/// will be run. If a clean shutdown is needed it is recommended to only call
|
||||
/// this function at a known point where there are no more destructors left
|
||||
/// to run.
|
||||
#[unstable(feature = "process_abort", issue = "37838")]
|
||||
#[stable(feature = "process_abort", since = "1.17.0")]
|
||||
pub fn abort() -> ! {
|
||||
unsafe { ::sys::abort_internal() };
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user