rust-operating-system/src/main.rs
2019-07-11 01:46:28 -07:00

20 lines
246 B
Rust

#![no_std]
#![no_main]
#[macro_use]
mod vga_buffer;
use core::panic::PanicInfo;
#[panic_handler]
fn panic(_info: &PanicInfo) -> !{
loop {}
}
#[no_mangle]
pub extern "C" fn _start() -> ! {
println!("Gamarjoba, munde: {}", 1);
loop {}
}