rust-os
rust-os copied to clipboard
A Educational OS written in rust
An Educational OS written in Rust-lang.
Installation
Requirements
you need:
- qemu
- rust (nightly), rust-src, llvm-tools-preview
- cargo xbuild, bootlader
Qemu
in Archlinux:
pacman -S qemu qemu-arch-extra
in Ubuntu:
apt install qemu-kvm
Rust (nightly)
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
Note: while installation, select rust Nightly channel.
After installation is done, add this line to your shell config to load rust toolchain.
for Bash:
echo 'source $HOME/.cargo/env' >> ~/.bashrc
now install rust-src component:
rustup component add rust-src
rustup component add llvm-tools-preview
Cargo xbuild
cargo install cargo-xbuild bootimage
Running Project in Qemu
cargo xrun