1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
[workspace]
resolver = "2"
members = ["rsnix", "shell", "rsdos", "rsdosedit", "rspaint", "rsapi", "bins/hello", "bins/boom", "bins/count", "bins/date", "bins/mem", "bins/pci", "bins/cat", "bins/mkdir", "bins/touch", "bins/rm", "bins/ls", "bins/klog", "bins/info", "bins/paint"]
[workspace.package]
version = "0.6.0"
edition = "2024"
# no_std UEFI kernel: no unwinder available, so panic must abort.
# (Also makes bare `cargo check`/`cargo build` without --target work.)
[profile.dev]
panic = "abort"
[profile.release]
panic = "abort"
# Deliberate kernel style, keep clippy quiet without rewriting hot paths:
# - `Result<_, ()>` is the internal error idiom everywhere (fs/fat/ahci)
# - indexed loops over static buffers are clearer in kernel code (and
# iterator rewrites would recreate `static_mut_refs` references)
[workspace.lints.clippy]
result_unit_err = "allow"
needless_range_loop = "allow"
|