Clippy passes on rx9070xt again: two lints from the HUD and texture-upload commits, one in watch.rs, one in a loader test #341

Closed
github-bot wants to merge 1 commit from github-bot/gh-341 into rx9070xt AGit
Owner

@⁠thejacte on GitHub · 2026-11-26 21:00 UTC · original
thejacte:claude/rx9070xt-clippy → rx9070xt · +3 −8 · 4 files · 1 commits · closed without merging

On rx9070xt at cd8dfc0, with the pinned toolchain, cargo clippy --workspace --all-targets --locked -- -D warnings fails, and so does the same with --all-features. CI fails for every pull request against this branch, #339 included.

Four small fixes, with no change in behaviour:

  • host/panel.rs: the transmute of NtQuerySystemInformation's address names its types (missing_transmute_annotations).
  • texture.rs: Staging's byte count is dropped. Diagnostics builds kept it and never read it (dead_code, with --all-features only).
  • watch.rs: a temporary is lent as shared where it was lent as mutable.
  • victory-loader's descriptor_sites test: two transmutes name their types.

This replaces #246. The rebuilt branch already fixed most of what #246 fixed, and has no workspace lint exceptions left, so #246's #![allow(...)] list is no longer needed.

Checked (Windows 11, RX 9070 XT, driver 32.0.32029.2010, Ryzen 7 9800X3D):

  • cargo clippy --workspace --all-targets --locked -- -D warnings: passes
  • cargo clippy --workspace --all-targets --all-features --locked -- -D warnings: passes
  • cargo test --workspace --locked --no-fail-fast: everything passes except emit::size_tests::the_record_count_of_a_structured_buffer_read_by_index. That test crashes the test process on the RX 9070 XT itself, as on rx9070xt today: it is AMD's compiler crash that #339 works around. It passes on WARP, so a runner without a GPU is not affected.
  • cargo xtask policy: passes

Written with Claude Code; reviewed by Codex (/review against upstream/rx9070xt).

**@⁠thejacte** on GitHub · 2026-11-26 21:00 UTC · [original](https://github.com/Belobug/VIctory-Belobug-AMD/pull/341) `thejacte:claude/rx9070xt-clippy` → `rx9070xt` · +3 −8 · 4 files · 1 commits · closed without merging On `rx9070xt` at cd8dfc0, with the pinned toolchain, `cargo clippy --workspace --all-targets --locked -- -D warnings` fails, and so does the same with `--all-features`. CI fails for every pull request against this branch, #339 included. Four small fixes, with no change in behaviour: - `host/panel.rs`: the `transmute` of `NtQuerySystemInformation`'s address names its types (`missing_transmute_annotations`). - `texture.rs`: `Staging`'s byte count is dropped. Diagnostics builds kept it and never read it (`dead_code`, with `--all-features` only). - `watch.rs`: a temporary is lent as shared where it was lent as mutable. - `victory-loader`'s `descriptor_sites` test: two `transmute`s name their types. This replaces #246. The rebuilt branch already fixed most of what #246 fixed, and has no workspace lint exceptions left, so #246's `#![allow(...)]` list is no longer needed. **Checked** (Windows 11, RX 9070 XT, driver 32.0.32029.2010, Ryzen 7 9800X3D): - `cargo clippy --workspace --all-targets --locked -- -D warnings`: passes - `cargo clippy --workspace --all-targets --all-features --locked -- -D warnings`: passes - `cargo test --workspace --locked --no-fail-fast`: everything passes except `emit::size_tests::the_record_count_of_a_structured_buffer_read_by_index`. That test crashes the test process on the RX 9070 XT itself, as on `rx9070xt` today: it is AMD's compiler crash that #339 works around. It passes on WARP, so a runner without a GPU is not affected. - `cargo xtask policy`: passes Written with Claude Code; reviewed by Codex (`/review` against `upstream/rx9070xt`).
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 21:01:57 +00:00
github-bot closed this pull request 2026-11-27 01:00:34 +00:00
Author
Owner

@⁠thejacte on GitHub · 2026-11-26 22:51 UTC · original

Closing: a-publier is the default branch now, and #330 already makes clippy pass there (default and --all-features), so this isn't needed.

**@⁠thejacte** on GitHub · 2026-11-26 22:51 UTC · [original](https://github.com/Belobug/VIctory-Belobug-AMD/pull/341#issuecomment-7205049139) Closing: a-publier is the default branch now, and #330 already makes clippy pass there (default and `--all-features`), so this isn't needed.

Pull request closed

This discussion has been locked. Commenting is limited to contributors.
No description provided.