compiler-builtins-zynq/crates/panic-handler/src/lib.rs

12 lines
200 B
Rust

// Hack of a crate until rust-lang/rust#51647 is fixed
#![feature(no_core, panic_handler)]
#![no_core]
extern crate core;
#[panic_handler]
fn panic(_: &core::panic::PanicInfo) -> ! {
loop {}
}