Install the version of rustc nightly and rustc extras that krnlc needs:
rustup toolchain install nightly-2025-06-30
rustup component add --toolchain nightly-2025-06-30 rust-src rustc-dev llvm-toolsInstall krnlc from the same git branch as krnl:
cargo +nightly-2025-06-30 install --git git@github.com:jlogan03/krnl.git \
--branch jlogan/update-deps --locked --force krnlcBuild the kernel cache for this crate:
sh krnlc.shRun the example:
cargo runLicensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.