Module rt
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.
Functions
- __rust_abort
- begin_panic This is the entry point of panicking for the non-format-string variants of panic!() and assert!(). In particular, this is the only entry point that supports arbitrary payloads, not just format strings.
- cleanup
- handle_rt_panic
- init
- lang_start
- lang_start_internal
- panic_display
- panic_fmt
- thread_cleanup 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.