Teaching myself OS internals by building a kernel.
Get build requirements
# Compile the limine submodule
./setup.sh
# 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
And build with cargo
cargo build
The repo also contains a few helper scripts to help build a bootable ISO (iso.sh
) and for running it with QEMU
(run.sh
).
The complete documentation can be found here