Me just experimenting with OS development in rust
Cargo should automatically detect all necessary components by checking rust-toolchain.toml, but you still need just to use the build system:
cargo install justIf Cargo didn't correctly install all components automatically, you can install them manually:
- Minimum supported rustc:
1.61.0-nightly(I usenightly-2022-04-02as configured inrust-toolchain.toml).- LLVM tools also need to be installed and available in PATH:
rustup component add llvm-tools-previewrust-srcis also needed:rustup component add rust-src
To enable verbose output in the terminal, append
--features verboseto any of these commands.
Building and running with the resulting image in Qemu:
just runA screenshot (taken in QEMU) of current rendering capabilities in Hugo4OS:
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.
