Repository navigation
Conversation
…with-default - cargo fmt: 168 formatting differences in 32 files - xmem.rs: initialize PERFORMANCE_INFORMATION cb in the struct literal (clippy::field_reassign_with_default)
catminou4
left a comment
There was a problem hiding this comment.
Verified on macOS 26 arm64, rustc 1.98.1, head e8ec70c:
cargo fmt --all -- --check: clean.cargo clippyon all macOS-buildable crates with--all-targets: clean except the pre-existingconstant_colordead-code warning (fixed in #685).cargo teston the same crates: only the known own-test-binary failures in victory-pe/victory-loader — identical to main's baseline (gated off non-Windows by #235/#523), so no regressions from the formatting.
One merge-order note: this reformats 32 files workspace-wide, including victory-shader/src/emit/lower.rs and valu_tests.rs that several open shader PRs (#682, #683, #684, #694) also touch. Whichever lands first, the others will need a rebase — merging this one early minimizes churn.
Small correction: #692 doesn't touch crates/victory-shader at all (none of its 32 files are there). I also checked #682 against #683, #684 and #694: it merges cleanly with each of them and with all of them together, #692 included, in any order. |
LAKSHYA-cmd-tech
left a comment
There was a problem hiding this comment.
Tested on Windows 11 MSVC:
- cargo fmt --check: clean (0 diffs across all workspace crates)
- cargo clippy -p victory-hle --all-targets -- -D warnings: clean (fixes field-reassign-with-default in xmem.rs)
- cargo test --workspace: clean, all tests pass
- cargo xtask policy: 151 files ok
|
Automated triage for the maintainers. Closing because it does not change behaviour the project needs (formatting, guards for cases that cannot occur, or notes and translations that cannot be kept current). If this is mistaken, reply here with what was missed (or push a change and say so) and it will be looked at again. Thank you for the contribution. |
Two hygiene fixes found during a workspace inspection:
cargo fmtacross the workspace: 168 formatting differences in 32 files.cargo fmt --checkis now clean.crates/victory-hle/src/modules/xmem.rs: initializePERFORMANCE_INFORMATION.cbin the struct literal instead of reassigning afterDefault::default()(clippy::field-reassign-with-default).cargo clippy --workspaceis now warning-free.Verified:
cargo test --workspace— 264 passed, 0 failed.