2023-02-24 11:15:56 -06:00
|
|
|
// aux-build:panic-handler.rs
|
|
|
|
// compile-flags: --document-private-items
|
|
|
|
// build-pass
|
2023-10-31 14:47:59 -05:00
|
|
|
// only-linux
|
2023-02-24 11:15:56 -06:00
|
|
|
|
|
|
|
#![no_std]
|
|
|
|
#![no_main]
|
|
|
|
|
|
|
|
#[panic_handler]
|
|
|
|
fn panic(_: &core::panic::PanicInfo) -> ! {
|
|
|
|
loop {}
|
|
|
|
}
|