Keep clippy green without the diagnostics feature #530

Open
github-bot wants to merge 1 commit from github-bot/gh-530 into main AGit
Owner

@⁠pug205gti6 on GitHub · 2026-11-25 02:00 UTC · original
pug205gti6:pr/491-gpu-clippy → main · +3 −1 · 1 files · 1 commits · open

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.

**@⁠pug205gti6** on GitHub · 2026-11-25 02:00 UTC · [original](https://github.com/fxceless/victory-fork/pull/530) `pug205gti6:pr/491-gpu-clippy` → `main` · +3 −1 · 1 files · 1 commits · open 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.
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.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 03:45:32 +00:00
Author
Owner

@⁠Revens2 on GitHub · 2026-11-25 07:37 UTC · original

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.

**@⁠Revens2** on GitHub · 2026-11-25 07:37 UTC · [original](https://github.com/fxceless/victory-fork/pull/530#issuecomment-7156062976) 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.
Author
Owner

@⁠Headache3318 on GitHub · 2026-11-25 09:22 UTC · original

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.

**@⁠Headache3318** on GitHub · 2026-11-25 09:22 UTC · [original](https://github.com/fxceless/victory-fork/pull/530#issuecomment-7158237754) 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 has changes conflicting with the target branch.
  • crates/victory-gpu/src/resource.rs
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.
git fetch -u origin '+refs/pull/530/head:github-bot/gh-530'
git switch 'github-bot/gh-530'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-530'
git switch 'github-bot/gh-530'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-530'
git switch 'github-bot/gh-530'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-530'
git switch 'main'
git merge --squash 'github-bot/gh-530'
git switch 'main'
git merge --ff-only 'github-bot/gh-530'
git switch 'main'
git merge 'github-bot/gh-530'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No description provided.