GPU: restore clean Clippy checks across build profiles #755
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/fxceless--victory-fork!755
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-755"
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?
@TokyoMkt on GitHub · 2026-11-25 06:43 UTC · original
TokyoMkt:contrib/gpu-clippy-profiles→main· +2 −3 · 3 files · 1 commits · openWhat changes
Gate a diagnostics-only accessor on the diagnostics feature, drop an unused stored handle from a test fixture (the fixture still uses it locally to clear depth), and express the existing descending sort with a key. No feature or rendering behavior changes are intended.
Validation
The workspace's strict Clippy checks passed on Windows for default and all-feature builds:
cargo clippy --workspace --all-targets --locked -- -D warningscargo clippy --workspace --all-targets --all-features --locked -- -D warnings@avt0m4t48 on GitHub · 2026-11-25 07:11 UTC · original
I cross-checked strict workspace Clippy on the exact PR base
8dd30aband headc1bb996, then applied just this patch to main ata26859f.placed_filler_twinsandunnecessary_sort_byunnecessary_sort_byand unreaddepth_writtenBoth checks used
cargo clippy --offline --locked --workspace --all-targets --target x86_64-pc-windows-msvc --features blake3/pure -- -D warnings, adding--all-featuresbefore--for the second profile. Each snapshot had its own Cargo target directory. Rust was 1.98.1 on Linux. The head withoutblake3/purestopped in BLAKE3’s build script becauseml64.exewas unavailable. This verifies the cross-target Clippy checks. Native Windows linking and test execution remain unverified here.#642 addresses the same three lints. The sort and fixture changes match, and the accessor differs in how it handles the non-diagnostics build.
AI-assisted using Codex.
View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.