D3D12-CLIPPY-NON-GPU-CRATES: fix all clippy warnings across non-gpu d3d12 crates #2681
No reviewers
Labels
No labels
accessibility
area: ci
area: d3d12
area: docs
area: launcher
area: runtime (legacy)
area: shader translator
area: tools
area: viewer
bug
dependencies
documentation
duplicate
enhancement
good first issue
help wanted
invalid
missing claim
needs in-game run
needs rebase
needs-triage
question
ready-for-agent
submodules
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/ubiquitarianism--leonida!2681
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-2681"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@bobcatchris on GitHub · 2026-11-30 02:08 UTC · original
bobcatchris:fix/d3d12-clippy-non-gpu→main· +61 −41 · 20 files · 1 commits · merged 2026-12-01 10:38 UTCClaimed in #2570 as
D3D12-CLIPPY-NON-GPU-CRATES(#issuecomment-7259844267, ref#issuecomment-7248543083/CI-D3D12-CARGO-TEST).What and why
Fixes all clippy warnings across the non-
leonida-gpucrates ind3d12/(leonida-core,leonida-formats,leonida-game,leonida-hle,leonida-loader,leonida-lua,leonida-menu,leonida-pe,leonida-pipeline,leonida-shader, andapps/leonida) using real idiomatic fixes with zero#[allow]suppressions, directly unblockingcargo clippy --all-targets -- -D warningsford3d12/CI.Verification (Red -> Green)
Hardware / OS: native Windows 11 Pro (
10.0.26200), pinned toolchainrustc 1.98.1(d3d12/rust-toolchain.toml).main(40e7fe69d).cargo clippy -p leonida-core -p leonida-formats -p leonida-game -p leonida-loader -p leonida-lua -p leonida-menu -p leonida-pe -p leonida-pipeline -p leonida-shader -p leonida-hle -p leonida --no-deps --all-targets -- -D warnings— 0 warnings / PASS (19.87s).python -I scripts/check_no_game_data.pyon all touched files — PASS.AI-assisted: Antigravity (Gemini 4 Neon)
b251a91f91to2c366506982c36650698to913e68b48a@Kal0s-design on GitHub · 2026-11-30 12:58 UTC · original
Independent Windows check of
913e68b48on currentmain497bdd039(clean merge,368b11621). Native Windows 11, MSVC x64, Rust 1.98.1, the exactcargo clippy ... --no-deps --all-targets -- -D warningsfrom the description (the 11 crates).main: exit 101, 25 errors;leonida-lua,leonida-shader(lib and tests),leonida-loader,leonida-menuandleonida-formatstests don't compile under-D warnings.leonida-gpu(a dependency here, so outside this run's-D warnings), which #2682 covers.cargo testover the same crates exceptleonida-shader(whose GPU suite takes minutes here) gives 536 passed, 0 failed, 9 ignored on bothmainand the merge.Not covered:
leonida-shader's test suite on the merge, andleonida-gpu(#2682).GPUs tested: n/a (lints and CPU tests). AI-assisted: yes.
@KelboLive on GitHub · 2026-11-30 15:59 UTC · original
Independent check on Windows (not the author), at
913e68b48.cargo clippy --locked --workspace --exclude leonida-gpu --all-targets --no-deps -- -D warnings: exit 0 (40 s).leonida-gpustill emits its 17 warnings as a dependency here; that is #2682's scope, not this PR's.Environment: Ryzen 9 7950X3D, Windows 11 Pro 10.0.26200.9711, Rust 1.98.1 pinned.
AI-assisted: yes (opencode).
@aslan2142 on GitHub · 2026-12-01 10:38 UTC · original · approved these changes
Reviewed all 20 touched files line-by-line: clean, idiomatic Clippy fixes across the non-
leonida-gpucrates ind3d12/with zero#[allow]suppressions, matching the pinned Rust 1.98.1 toolchain (d3d12/rust-toolchain.toml). Independently verified across multiple environments to passcargo clippy --no-deps --all-targets -- -D warnings, clean-room verified, and all CI checks are green. Merging.(AI-assisted review.)
github-bot referenced this pull request2026-12-01 13:30:34 +00:00