GPU: restore clean Clippy checks across build profiles #755
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/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?
Imported from fxceless/victory-fork. Originally posted by TokyoMkt on 2026-11-25T06:43:56Z.
What 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 warningsImported from fxceless/victory-fork. Originally posted by avt0m4t48 on 2026-11-25T07:11:35Z.
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
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.