17 lines
239 B
Rust
17 lines
239 B
Rust
|
#![feature(panic_implementation)]
|
||
|
#![no_std]
|
||
|
#![no_main]
|
||
|
|
||
|
use core::panic::PanicInfo;
|
||
|
|
||
|
#[panic_implementation]
|
||
|
#[no_mangle]
|
||
|
pub fn panic(_info: &PanicInfo) -> ! {
|
||
|
loop {}
|
||
|
}
|
||
|
|
||
|
#[no_mangle]
|
||
|
pub extern "C" fn _start() -> ! {
|
||
|
loop {}
|
||
|
}
|