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