about summary refs log tree commit diff
path: root/library/compiler-builtins/crates/panic-handler/src/lib.rs
blob: a75999a4b605e510f477bcef31609e034b2e8fa7 (plain)
1
2
3
4
5
6
7
8
9
10
11
// Hack of a crate until rust-lang/rust#51647 is fixed

#![feature(no_core)]
#![no_core]

extern crate core;

#[panic_handler]
fn panic(_: &core::panic::PanicInfo) -> ! {
    loop {}
}