#kernel #educational #build #bare

nightly bin+lib bottleos

A bare-bones kernel created to teach myself OS internals

3 releases (breaking)

0.2.0 Feb 4, 2021
0.1.0-rc1 Feb 3, 2021
0.0.1 Feb 2, 2021

#68 in #os

MIT license

22KB
563 lines

BottleOS

build clippy

Teaching myself OS internals by building a kernel.

Build

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

Documentation

The complete documentation can be found here

References

Dependencies

~790KB
~14K SLoC