Module std::rtUnstable
[-] [+]
[src]
Runtime services
The rt
module provides a narrow set of runtime services,
including the global heap (exported in heap
) and unwinding and
backtrace support. The APIs in this module are highly unstable,
and should be considered as private implementation details for the
time being.
Reexports
pub use self::util::{default_sched_threads, min_stack, running_on_valgrind}; |
pub use self::unwind::{begin_unwind, begin_unwind_fmt}; |
Modules
args | Global storage for command line arguments |
backtrace | Simple backtrace functionality (to print on panic) |
heap | |
unwind | Implementation of Rust stack unwinding |
util |
Constants
DEFAULT_ERROR_CODE | The default error code of the rust runtime if the main thread panics instead of exiting cleanly. |
Functions
at_exit | Enqueues a procedure to run when the runtime is cleaned up |
cleanup | One-time runtime cleanup. |