Keep clippy green without the diagnostics feature #530

Open
pug205gti6 wants to merge 1 commit from upstream-pr/530 into main
pug205gti6 commented 2026-11-25 02:00:25 +00:00 (Migrated from github.com)

Imported from fxceless/victory-fork. Originally posted by pug205gti6 on 2026-11-25T02:00:25Z.


c96b4f2 added placed_filler_twins for the memory line in copystat, which compiles only on Windows with diagnostics on, so the default- features clippy lane (the CI gate on main) sees no caller and fails with -D dead_code. Mark it allowed-dead without the feature, the same attribute shadow.rs, pipeline.rs and pipeline/host.rs already use for diagnostics-only items.

<!-- greyfinch-sync:fxceless/victory-fork:issue:6595410222 --> Imported from [fxceless/victory-fork](https://github.com/fxceless/victory-fork/pull/530). Originally posted by [pug205gti6](https://github.com/pug205gti6) on 2026-11-25T02:00:25Z. --- c96b4f2 added placed_filler_twins for the memory line in copystat, which compiles only on Windows with diagnostics on, so the default- features clippy lane (the CI gate on main) sees no caller and fails with -D dead_code. Mark it allowed-dead without the feature, the same attribute shadow.rs, pipeline.rs and pipeline/host.rs already use for diagnostics-only items.
Revens2 commented 2026-11-25 08:09:01 +00:00 (Migrated from github.com)

Imported from fxceless/victory-fork. Originally posted by Revens2 on 2026-11-25T07:37:08Z.


Duplicate of #491: @iloveslopware opened this patch 30 minutes earlier, and gh pr diff returns the same bytes for both (+3/-1 on 1 file(s), same title).

Please continue in #491 so the review history and any test data stay in one place.
Thanks.

<!-- greyfinch-sync:fxceless/victory-fork:comment:7156062976 --> Imported from [fxceless/victory-fork](https://github.com/fxceless/victory-fork/pull/530#issuecomment-7156062976). Originally posted by [Revens2](https://github.com/Revens2) on 2026-11-25T07:37:08Z. --- Duplicate of #491: @iloveslopware opened this patch 30 minutes earlier, and `gh pr diff` returns the same bytes for both (+3/-1 on 1 file(s), same title). Please continue in #491 so the review history and any test data stay in one place. Thanks.
Headache3318 commented 2026-11-25 10:11:10 +00:00 (Migrated from github.com)

Imported from fxceless/victory-fork. Originally posted by Headache3318 on 2026-11-25T09:22:14Z.


Independent verification: PR #530 merges cleanly onto main (310c6eb), no conflicts. Build: success (17.5s). Tests: fail on Linux host due to pre-existing issue (E0433/E0425 in victory-loader and victory-gpu for Windows-only dependencies) — identical failure on main without this PR. CI is windows-latest only; Linux workspace tests not supported upstream. PR introduces no new failures. Machine: Arch Linux, kernel 7.3.5-arch1-1, 3x RTX 4090 driver 620.73.04, Proton, AI-assisted.

<!-- greyfinch-sync:fxceless/victory-fork:comment:7158237754 --> Imported from [fxceless/victory-fork](https://github.com/fxceless/victory-fork/pull/530#issuecomment-7158237754). Originally posted by [Headache3318](https://github.com/Headache3318) on 2026-11-25T09:22:14Z. --- Independent verification: PR #530 merges cleanly onto main (310c6eb), no conflicts. Build: success (17.5s). Tests: fail on Linux host due to pre-existing issue (E0433/E0425 in victory-loader and victory-gpu for Windows-only dependencies) — identical failure on main without this PR. CI is windows-latest only; Linux workspace tests not supported upstream. PR introduces no new failures. Machine: Arch Linux, kernel 7.3.5-arch1-1, 3x RTX 4090 driver 620.73.04, Proton, AI-assisted.
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/530:upstream-pr/530'
git switch 'upstream-pr/530'

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.

git switch 'main'
git merge --no-ff 'upstream-pr/530'
git switch 'upstream-pr/530'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/530'
git switch 'upstream-pr/530'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/530'
git switch 'main'
git merge --squash 'upstream-pr/530'
git switch 'main'
git merge --ff-only 'upstream-pr/530'
git switch 'main'
git merge 'upstream-pr/530'
git push origin 'main'
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
fxceless/victory-fork!530
No description provided.