Krill
An x86_64 operating system written in Rust.
Requirements
- A Linux environment.
- An internet connection.
- The
rustup
Rust toolchain installer. If you are on Arch, install therustup
package. - The nightly toolchain of Rust. Run
rustup toolchain install nightly
to install the toolchain andrustup default nightly
to set it as the default. - The
bootimage
cargo tool. Runcargo install bootimage
to install it. - The
llvm-tools-preview
component. Runrustup component add llvm-tools-preview
to add the component. - The QEMU emulator. If you are on Arch, install the
qemu
package.
Compilation
Run cargo run
to compile and run the OS with QEMU. If you just want to compile
the project, run cargo build
. A bootable image will be generated at
target/x86_64-krill/[debug|release]/bootimage-krill.bin
. If you want to build it in
release mode (with optimizations), use the --release
flag.
License
See LICENSE
.