GPU: clippy passes again on the warnings in victory-gpu #982
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!982
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-982"
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?
@brunofgmag on GitHub · 2026-11-25 14:55 UTC · original
brunofgmag:fx-clippy→main· +12 −12 · 7 files · 1 commits · openThe CI on main has failed at the Clippy step since
f85101b. This branch now starts from the current main (ca8829f), and both clippy commands from the workflow pass on it, with the default features and with--all-features.resource.rs:placed_filler_twinsis only read by diagnostics builds, so it is now compiled only with thediagnosticsfeature.draw.rs: the scissor census sorts withsort_unstable_by_keyandReverse.indirect.rs: the test rig'sdepth_writtenhandle is kept but never read again, so it is now_depth_written.fpsbox.rs: the text cache fills a vacant entry throughentryinstead ofcontains_keyfollowed byinsert.draw.rs,queue.rs,shadow.rs(two places) andwatch.rs(two places):x % n == 0becomesx.is_multiple_of(n).Nothing changes in behaviour. Thanks to the independent check in the comments, which listed the findings on the newer main.
@avt0m4t48 on GitHub · 2026-11-25 15:51 UTC · original
Independent Windows-target Clippy check for head
119d6575eb22847cb634fc9d33dd6df2743fafca, using Rust/Clippy 1.98.1 on Linux.0b0074e119d6573973179Counts are distinct source locations. The exact base reproduced the unused helper, unused test field, descending sort and modulo findings. The helper finding appeared only in the default configuration.
On current main, the patch removes all four targeted findings. The shadow hunk needs refreshed context because main updated the adjacent log message. The remaining findings on that snapshot are also present in unpatched main. They are
manual_is_multiple_ofatqueue.rs:672in both configurations and atdraw.rs:3235andwatch.rs:481,872with diagnostics.GitHub's advertised test merge
001f128has the same tree as the PR head and uses0b0074eas its first parent. The GitHub workflow run required action and started zero jobs. The local check cross-compiled for Clippy and usedblake3/pureto avoid the native MSVC assembler dependency. Native Windows linking and execution were outside this check.@Dathinel on GitHub · 2026-11-25 23:10 UTC · original
Retested on Windows with Rust/Clippy 1.98.1, main
6d20eedplus this head (c47b418) and the test-only #1092. The merge is clean. Both CI Clippy commands now report just two remaining diagnostics, both in victory-gpu:I applied those two edits locally (3 additions, 4 deletions). Both workspace Clippy commands from ci.yml then passed with -D warnings, including --all-targets --all-features. Current main by itself fails the hosted Clippy job: https://github.com/fxceless/victory-fork/actions/runs/45718141122 . AI-assisted.
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.