Function ostd::panicking::panic_handler
source · #[export_name = "__aster_panic_handler"]
pub fn panic_handler(info: &PanicInfo<'_>) -> !
Expand description
The panic handler must be defined in the binary crate or in the crate that the binary
crate explicity declares by extern crate
. We cannot let the base crate depend on OSTD
due to prismatic dependencies. That’s why we export this symbol and state the
panic handler in the binary crate.