Commit 6e846210 authored by Martin Kröning's avatar Martin Kröning 🦀 Committed by Jonathan Klimt
Browse files

rust-toolchain.toml: Pin toolchain channel

parent a1c557b7
......@@ -45,48 +45,21 @@ $ apt-get install -y git curl wget nasm make autotools-dev gcc g++ build-essenti
### Common for macOS, Windows and Linux
It is required to install the Rust toolchain.
Please visit the [Rust website]( and follow the installation instructions for your operating system.
It is important that the *nightly channel* is used to install the toolchain.
This is queried during installation and should be answered as appropriate.
Afterwards the installation the source code of Rust runtime and the llvm tools are required to build the kernel:
$ rustup component add rust-src
$ rustup component add llvm-tools-preview
This project uses Rustup to set its Rust toolchain.
Follow the instructions to [install Rust using Rustup](
eduOS-rs is able to run within [ehyve](, which a specialized hypervisor for eduOS-rs.
Therefore [ehyve]( must be installed.
$ cargo install --git
$ cargo +nightly install --git --locked
Please check if your system fullfil ehyve's [system requirements](
To build the kernel, it is important to add the path to *llvm-tools* to the environment variable `PATH`.
Depening on the operating systems, the tools are located at:
* Linux: `~/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/bin`
* MacOS: `~/.rustup/toolchains/nightly-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/bin`
* Windows: `%USERPROFILE%\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\x86_64-pc-windows-msvc\bin`
## Building
The final step is to create a copy of the repository and to build the kernel:
$ # Get our source code.
$ git clone
$ cd eduOS-rs
$ # Build kernel
$ cargo build
From here, we should be able to run the kernel in ehyve:
After cloning the repository, you can run the kernel with ehyve:
$ cargo run
channel = "nightly-2021-02-11"
components = [
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment