mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-23 06:06:50 +00:00
12 lines
214 B
Rust
12 lines
214 B
Rust
// Hack of a crate until rust-lang/rust#51647 is fixed
|
|
|
|
#![feature(no_core, panic_implementation)]
|
|
#![no_core]
|
|
|
|
extern crate core;
|
|
|
|
#[panic_implementation]
|
|
fn panic(_: &core::panic::PanicInfo) -> ! {
|
|
loop {}
|
|
}
|