Module std::rt [] [src]

Unstable

Runtime services

The rt`rtmodule provides a narrow set of runtime services, including the global heap (exported in` module provides a narrow set of runtime services, including the global heap (exported in heap`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::{min_stack, running_on_valgrind};
pub use self::unwind::{begin_unwind, begin_unwind_fmt};

Modules

args [Unstable]

Global storage for command line arguments

backtrace [Unstable]

Simple backtrace functionality (to print on panic)

heap [Unstable]
unwind [Unstable]

Implementation of Rust stack unwinding

util [Unstable]

Constants

DEFAULT_ERROR_CODE [Unstable]

The default error code of the rust runtime if the main thread panics instead of exiting cleanly.

Functions

at_exit [Unstable]

Enqueues a procedure to run when the main thread exits.

cleanup [Unstable]

One-time runtime cleanup.