2 releases
0.1.1 | Jan 30, 2022 |
---|---|
0.1.0 | Jan 30, 2022 |
#6 in #neutron
35KB
651 lines
Neutron
A rust based kernel built on first principles.
Testing
A core idea is TDD. The only way to really verify that things work. Each mod.rs
should contain cfg() for build and test, esp for arch dependent code. For arch independent code, should try not to rely on arch dependent code. I.e. only arch dependent code should rely on arch independent code. Or the interface should be isolated, i.e. in kernel manager.
Dependencies
Rust (rustup recommended)
- rust-src
- target aarch64 and riscv64 (unknown-none)
QEMU
Toolchains (add to path or specify sysroot when using
cargo build
) - aarch64-gcc
- riscv64-gcc
Building
cargo build
Running
run.sh
Dependencies
~280KB