]> git.lizzy.rs Git - rust.git/blob - tests/assembly/auxiliary/breakpoint-panic-handler.rs
Rollup merge of #107735 - edward-shen:edward-shen/mailmap, r=dtolnay
[rust.git] / tests / assembly / auxiliary / breakpoint-panic-handler.rs
1 #![feature(core_intrinsics)]
2 #![no_std]
3
4 #[panic_handler]
5 unsafe fn breakpoint_panic_handler(_: &::core::panic::PanicInfo) -> ! {
6     core::intrinsics::breakpoint();
7     core::hint::unreachable_unchecked();
8 }