2023-02-24 11:15:56 -06:00
|
|
|
// aux-build:panic-handler.rs
|
|
|
|
// compile-flags: --document-private-items
|
|
|
|
// build-pass
|
2023-02-25 05:12:21 -06:00
|
|
|
// ignore-windows
|
2023-02-24 11:15:56 -06:00
|
|
|
|
|
|
|
#![no_std]
|
|
|
|
#![no_main]
|
|
|
|
|
|
|
|
#[panic_handler]
|
|
|
|
fn panic(_: &core::panic::PanicInfo) -> ! {
|
|
|
|
loop {}
|
|
|
|
}
|