rust/tests/run-make/issue-53964/panic.rs

11 lines
153 B
Rust
Raw Normal View History

#![crate_type = "lib"]
#![feature(panic_handler)]
#![no_std]
use core::panic::PanicInfo;
#[panic_handler]
fn panic(_: &PanicInfo) -> ! {
loop {}
}