Implement an x86_64 OS in Rust following this guide: https://os.phil-opp.com/minimal-rust-kernel/
Build an executable binary file with a linked bootloader (compatible with BIOS).
cargo bootimage
- Install QEMU (MacOS specific):
brew install qemu
- Run QEMU emulator with the result binary file compiled via
cargo bootimage
:
cargo run
- Install
xbuild
:
cargo install xbuild
- Run unit and integration tests:
cargo xtest