Paolo Teti c03769a47e panic_handler is now stable
Fixes the following warning:

"warning: the feature `panic_handler` has been stable since
1.30.0 and no longer requires an attribute to enable"
2018-09-13 10:25:59 +02:00

12 lines
185 B
Rust

// 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 {}
}