Start Rust OS stuff.

This commit is contained in:
2018-08-14 19:03:48 -07:00
parent 3e5c715493
commit 04b031c6f2
5 changed files with 37 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
#![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 {}
}