mirror of
https://github.com/rust-lang/rust.git
synced 2025-12-02 11:37:54 +00:00
12 lines
213 B
Rust
12 lines
213 B
Rust
//! This is needed for tests on targets that require a `#[panic_handler]` function
|
|
|
|
#![feature(no_core)]
|
|
#![no_core]
|
|
|
|
extern crate core;
|
|
|
|
#[panic_handler]
|
|
fn panic(_: &core::panic::PanicInfo) -> ! {
|
|
loop {}
|
|
}
|