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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
133 B
Rust
Raw Normal View History

2023-02-24 11:15:56 -06:00
// compile-flags: -C panic=abort
#![no_std]
#![no_main]
#[panic_handler]
fn panic(_: &core::panic::PanicInfo) -> ! {
loop {}
}