Fix clippy field_reassign_with_default in xmem #405
No reviewers
Labels
No labels
accessibility
area: build
area: formats
area: gpu
area: loader
area: runtime
area: shader
bug
documentation
duplicate
enhancement
good first issue
gpu: amd
gpu: intel
gpu: nvidia
help wanted
host: wine
invalid
out of scope
question
request
run report
triage: confirmed
triage: has patch
triage: merge candidate
triage: needs info
triage: needs rebase
triage: needs work
triage: proposed close
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Marvisak--VIctory!405
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/405/head"
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?
@Marrqquess on GitHub · 2026-11-24 02:58 UTC · original
Marrqquess:fix-clippy-xmem→main· +4 −2 · 1 files · 1 commits · closed without mergingInitializes PERFORMANCE_INFORMATION with struct update syntax to silence clippy::field_reassign_with_default. No behavior change; cargo test --workspace passes.
@jeremygold02 on GitHub · 2026-11-24 04:34 UTC · original
Thanks @Marrqquess for the xmem lint cleanup. I tested head
49f113baf8b1aacb84c171922def2f1c7c1a9d17with:Result: 9 xmem tests passed, 0 failed; Clippy passed with warnings denied. The tests cover allocator alignment/freeing, virtual allocation constraints, physical-page mapping, and page-run behavior. The change itself is a Clippy-driven initializer cleanup, so the module tests are package regression checks rather than a new behavior-specific test.
@Exorion1er on GitHub · 2026-11-24 09:33 UTC · original
This exact change (
PERFORMANCE_INFORMATIONas a struct literal with..Default::default()inxmem.rs) is already onmain, from commit40c127cin #355. Merging this PR changes nothing now, so it can be closed.Checked with
git merge-treeagainstmain. AI-assisted (Claude Code).@Marrqquess on GitHub · 2026-11-24 12:47 UTC · original
Thanks for checking! You're right, this is already on main via
40c127c(Marvisak/VIctory#355). Closing as duplicate.Pull request closed