Welcome to the K-Scale OS build for the K-Bot!
cross
toolchain
Native build with stub features:
cargo build
Cross build for kbot
:
cross build --release --target aarch64-unknown-linux-gnu
RUST_LOG=debug cargo run
You can specify logging levels for individual modules by adding module_name=log_level
to the RUST_LOG
environment variable. For example:
RUST_LOG=debug,krec=warn cargo run
- Use
cargo fmt --all
to format the code. - Use
cargo clippy
to check for lint errors. - Use
cargo test
to run the tests. - Use
tracing
for logging. - Use
eyre
to handle errors. - No
unwrap()
orexpect()
.
This project is licensed under the MIT License. See the LICENSE file for details.