Module rt

Source
๐Ÿ”ฌThis is a nightly-only experimental API. (rt)
Expand description

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.

Re-exportsยง

pub use crate::panicking::begin_panic;Experimental
pub use crate::panicking::panic_count;Experimental

Macrosยง

rtabort ๐Ÿ”’ Experimental
rtassert ๐Ÿ”’ Experimental
rtprintpanic ๐Ÿ”’ Experimental
rtunwrap ๐Ÿ”’ Experimental

Functionsยง

cleanup ๐Ÿ”’ Experimental
handle_rt_panic ๐Ÿ”’ Experimental
init ๐Ÿ”’ โš Experimental
lang_start ๐Ÿ”’ Experimental
lang_start_internal ๐Ÿ”’ Experimental
panic_displayExperimental
panic_fmtExperimental
The entry point for panicking with a formatted message.
thread_cleanup ๐Ÿ”’ Experimental
Clean up the thread-local runtime state. This should be run after all other code managed by the Rust runtime, but will not cause UB if that condition is not fulfilled. Also note that this function is not guaranteed to be run, but skipping it will cause leaks and therefore is to be avoided.