summaryrefslogtreecommitdiffstats
path: root/Cargo.toml
blob: 2864712d29336d4e12517fba62478ef00a0c2357 (plain) (blame)
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"]

[workspace.package]
version = "0.4.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"