Skip to content

Latest commit

 

History

History
42 lines (25 loc) · 1.29 KB

README.md

File metadata and controls

42 lines (25 loc) · 1.29 KB

Hugo4OS

Me just experimenting with OS development in rust

Build dependencies

Cargo should automatically detect all necessary components by checking rust-toolchain.toml, but you still need just to use the build system:

cargo install just

If Cargo didn't correctly install all components automatically, you can install them manually:

  • Minimum supported rustc: 1.61.0-nightly (I use nightly-2022-04-02 as configured in rust-toolchain.toml).
  • LLVM tools also need to be installed and available in PATH: rustup component add llvm-tools-preview
  • rust-src is also needed: rustup component add rust-src

Usage

To enable verbose output in the terminal, append --features verbose to any of these commands.

Building and running with the resulting image in Qemu:

just run

Showcase

A screenshot (taken in QEMU) of current rendering capabilities in Hugo4OS:

wowie

A video of Hugo4OS running on real hardware (turn the sound on!):

Hugo4OS.mp4

Big thanks to Philipp Oppermann, his blog is what inspired me, and got Hugo4OS up and running.