Skip to content

pratikwadekar88/RustOS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Building an OS using Rust


Also learning Rust at the same time

To setup machine:

  1. download and install rustup
  2. go inside the repo directory
  3. run rustup component add rust-src --toolchain nightly-x86_64-unknown-linux-gnu
  4. run cargo build
  5. run cargo install bootimage
  6. run rustup component add llvm-tools-preview
  7. run cargo bootimage

If facing any issues while cargo run or cargo build:

  1. cargo update -p uart_16550 --precise 0.2.14
  2. cargo update -p x86_64 --precise 0.14.7

To run the OS image using qemu: qemu-system-x86_64 -drive format=raw,file=target/x86_64-rustos/debug/bootimage-rustos.bin or cargo run

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages