Fixes the following warning: "warning: the feature `panic_handler` has been stable since 1.30.0 and no longer requires an attribute to enable"
11 lines
185 B
Rust
11 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 {}
|
|
}
|