mirror of
https://github.com/QuixiAI/nvdriver.git
synced 2026-12-06 06:28:39 +00:00
Mechanical, behavior-neutral: edition/resolver keys, unsafe extern blocks, unsafe(no_mangle)/unsafe(export_name), unsafe blocks inside unsafe fn, r#gen renames, --edition flags in Makefiles/tools, rustfmt style_edition pinned to 2021 so formatting stays edition-independent, and clippy collapsible_if allowed workspace-wide (let-chain churn). Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
20 lines
413 B
TOML
20 lines
413 B
TOML
[workspace]
|
|
resolver = "3"
|
|
members = ["src/common/abi", "src/nvidia"]
|
|
|
|
[workspace.package]
|
|
edition = "2024"
|
|
license = "MIT"
|
|
rust-version = "1.100"
|
|
version = "0.1.0"
|
|
|
|
# Edition 2024 makes clippy suggest let chains for every nested `if`; keep the migration behavior-neutral.
|
|
[workspace.lints.clippy]
|
|
collapsible_if = "allow"
|
|
|
|
[profile.release]
|
|
panic = "abort"
|
|
codegen-units = 1
|
|
opt-level = 2
|
|
overflow-checks = true
|