1
Fork 0

Merge sys_common::rt into rt

This commit is contained in:
bjorn3 2021-09-16 14:28:21 +02:00
parent 2b5ddf36fd
commit 6f6bb16718
5 changed files with 89 additions and 92 deletions

View file

@ -1907,7 +1907,7 @@ impl Child {
/// [platform-specific behavior]: #platform-specific-behavior
#[stable(feature = "rust1", since = "1.0.0")]
pub fn exit(code: i32) -> ! {
crate::sys_common::rt::cleanup();
crate::rt::cleanup();
crate::sys::os::exit(code)
}