Fix clippy field_reassign_with_default in xmem #405

Closed
github-bot wants to merge 1 commit from gh-pr/405/head into gh-pr/405/base
Owner

@⁠Marrqquess on GitHub · 2026-11-24 02:58 UTC · original
Marrqquess:fix-clippy-xmem → main · +4 −2 · 1 files · 1 commits · closed without merging

Initializes PERFORMANCE_INFORMATION with struct update syntax to silence clippy::field_reassign_with_default. No behavior change; cargo test --workspace passes.

**@⁠Marrqquess** on GitHub · 2026-11-24 02:58 UTC · [original](https://github.com/Marvisak/VIctory/pull/405) `Marrqquess:fix-clippy-xmem` → `main` · +4 −2 · 1 files · 1 commits · closed without merging Initializes PERFORMANCE_INFORMATION with struct update syntax to silence clippy::field_reassign_with_default. No behavior change; cargo test --workspace passes.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 04:02:42 +00:00
github-bot closed this pull request 2026-11-26 04:02:42 +00:00
Author
Owner

@⁠jeremygold02 on GitHub · 2026-11-24 04:34 UTC · original

Thanks @⁠Marrqquess for the xmem lint cleanup. I tested head 49f113baf8b1aacb84c171922def2f1c7c1a9d17 with:

cargo test --locked -p victory-hle --lib xmem:: -- --test-threads=1
cargo clippy --locked -p victory-hle --lib -- -D warnings

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.

**@⁠jeremygold02** on GitHub · 2026-11-24 04:34 UTC · [original](https://github.com/Marvisak/VIctory/pull/405#issuecomment-7122137991) Thanks @⁠Marrqquess for the xmem lint cleanup. I tested head `49f113baf8b1aacb84c171922def2f1c7c1a9d17` with: ``` cargo test --locked -p victory-hle --lib xmem:: -- --test-threads=1 cargo clippy --locked -p victory-hle --lib -- -D warnings ``` 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.
Author
Owner

@⁠Exorion1er on GitHub · 2026-11-24 09:33 UTC · original

This exact change (PERFORMANCE_INFORMATION as a struct literal with ..Default::default() in xmem.rs) is already on main, from commit 40c127c in #355. Merging this PR changes nothing now, so it can be closed.

Checked with git merge-tree against main. AI-assisted (Claude Code).

**@⁠Exorion1er** on GitHub · 2026-11-24 09:33 UTC · [original](https://github.com/Marvisak/VIctory/pull/405#issuecomment-7127573534) This exact change (`PERFORMANCE_INFORMATION` as a struct literal with `..Default::default()` in `xmem.rs`) is already on `main`, from commit `40c127c` in #355. Merging this PR changes nothing now, so it can be closed. Checked with `git merge-tree` against `main`. AI-assisted (Claude Code).
Author
Owner

@⁠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.

**@⁠Marrqquess** on GitHub · 2026-11-24 12:47 UTC · [original](https://github.com/Marvisak/VIctory/pull/405#issuecomment-7131926627) Thanks for checking! You're right, this is already on main via 40c127c ([Marvisak/VIctory#355](https://git.gtahub.st/github/Marvisak--VIctory/pulls/355)). Closing as duplicate.

Pull request closed

This discussion has been locked. Commenting is limited to contributors.
No reviewers
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.

Dependencies

No dependencies set

Reference
github/Marvisak--VIctory!405
No description provided.