]> git.lizzy.rs Git - rust.git/blobdiff - library/std/src/sys/hermit/mod.rs
Rollup merge of #103088 - GuillaumeGomez:fix-settings-page, r=notriddle
[rust.git] / library / std / src / sys / hermit / mod.rs
index 827d82900eae41d0b2f4972fd4727a2da30237a8..e6534df8938eb531e4ba148dda1f12f600b974ce 100644 (file)
@@ -106,9 +106,7 @@ pub unsafe fn init(argc: isize, argv: *const *const u8, _sigpipe: u8) {
 
 // SAFETY: must be called only once during runtime cleanup.
 // NOTE: this is not guaranteed to run, for example when the program aborts.
-pub unsafe fn cleanup() {
-    args::cleanup();
-}
+pub unsafe fn cleanup() {}
 
 #[cfg(not(test))]
 #[no_mangle]