Function std::rt::cleanupUnstable [-] [+] [src]

pub unsafe fn cleanup()

One-time runtime cleanup.

This function is unsafe because it performs no checks to ensure that the runtime has completely ceased running. It is the responsibility of the caller to ensure that the runtime is entirely shut down and nothing will be poking around at the internal components.

Invoking cleanup while portions of the runtime are still in use may cause undefined behavior.