Skip to content

sergeyboyko0791/rust-os

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Implement an x86_64 OS in Rust following this guide: https://os.phil-opp.com/minimal-rust-kernel/

Build an executable binary file

Build an executable binary file with a linked bootloader (compatible with BIOS).

cargo bootimage 

Run in QEMU

  1. Install QEMU (MacOS specific):
brew install qemu
  1. Run QEMU emulator with the result binary file compiled via cargo bootimage:
cargo run

Run tests

  1. Install xbuild:
cargo install xbuild
  1. Run unit and integration tests:
cargo xtest

About

Implement an x86_64 OS in Rust following this guide: https://os.phil-opp.com/minimal-rust-kernel/

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages