cargo build qemu-system-i386 -kernel target/i686-unknown-none/debug/kernel Requirements i686-elf-gcc cross compiler qemu-system-i386 References Bare Bones - OSDev Wiki Writing an OS in Rust Parsing info from bootloader in rust kernel Stackoverflow | How to compile Rust code to bare metal 32 bit x86 (i686) code? What compile target should I use?