Teaching myself OS internals by building a kernel.
Get build requirements
# Use Rust nightly for experimental features
rustup override set nightly
# Recompile core libraries
rustup component add rust-src
# For using the bootloader package
rustup component add llvm-tools-preview
Build with cargo
# Build the kernel itself
cargo build
# Or build a bootimage
cargo bootimage
The complete documentation can be found here