Rework at_exit
to cleanup
This commit is contained in:
parent
71965ab4d0
commit
5b30662741
13 changed files with 134 additions and 196 deletions
|
@ -1749,7 +1749,7 @@ impl Child {
|
|||
/// [platform-specific behavior]: #platform-specific-behavior
|
||||
#[stable(feature = "rust1", since = "1.0.0")]
|
||||
pub fn exit(code: i32) -> ! {
|
||||
crate::sys_common::cleanup();
|
||||
crate::sys_common::rt::cleanup();
|
||||
crate::sys::os::exit(code)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue