Remove args cleanup code.
As of 91c3eee173
, the global ARGC and ARGV
no longer reference dynamically-allocated memory, so they don't need to
be cleaned up.
This commit is contained in:
parent
64d171b8a4
commit
46010c4618
2 changed files with 0 additions and 14 deletions
|
@ -123,7 +123,6 @@ pub unsafe fn init(argc: isize, argv: *const *const 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();
|
||||
stack_overflow::cleanup();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue