rust/tests/rustdoc-ui/issues/auxiliary/panic-handler.rs

10 lines
134 B
Rust

//@ compile-flags: -C panic=abort
#![no_std]
#![no_main]
#[panic_handler]
fn panic(_: &core::panic::PanicInfo) -> ! {
loop {}
}