mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-03 20:23:59 +00:00
433da1fc04
They pass fine.
11 lines
153 B
Rust
11 lines
153 B
Rust
#![crate_type = "lib"]
|
|
#![feature(panic_handler)]
|
|
#![no_std]
|
|
|
|
use core::panic::PanicInfo;
|
|
|
|
#[panic_handler]
|
|
fn panic(_: &PanicInfo) -> ! {
|
|
loop {}
|
|
}
|