Skip to content

hamidrezakp/rust-os

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A Educational OS written in rust

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages