mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 00:34:06 +00:00
9 lines
209 B
Rust
9 lines
209 B
Rust
#![feature(core_intrinsics)]
|
|
#![no_std]
|
|
|
|
#[panic_handler]
|
|
unsafe fn breakpoint_panic_handler(_: &::core::panic::PanicInfo) -> ! {
|
|
core::intrinsics::breakpoint();
|
|
core::hint::unreachable_unchecked();
|
|
}
|