better README

This commit is contained in:
charlesbvll 2021-07-19 18:58:28 +02:00
parent 96c1d1c888
commit 50fcf59a29

View File

@ -1,3 +1,16 @@
# rust_os
Small operating system written in the Rust programming language, following this blog : https://os.phil-opp.com/
Small operating system written in the Rust programming language, following this blog : https://os.phil-opp.com/
### Usage
First you need to install Rust, rustup and QEMU.
Inside the cloned repo you can then run :
```
rustup override set nightly
rustup component add rust-src
cargo install bootimage
rustup component add llvm-tools-preview
```
You should now be able to run `cargo run` to launch the kernel on QEMU. You can also run `cargo test` to test the different parts of the code without having to launch QEMU.