loader: restore TEST_LOAD_LOCK, lost in the DualSense merge (main's Lint is red) #74

Closed
github-bot wants to merge 1 commit from github-bot/gh-74 into main AGit
Owner

@⁠Kal0s-design on GitHub · 2026-12-05 20:12 UTC · original
Kal0s-design:fix/loader-test-lock → main · +7 −0 · 1 files · 1 commits · closed without merging

Main's Lint run fails since the DualSense merge, with E0425 "cannot find value TEST_LOAD_LOCK in the crate root" in victory-loader's test build (minidump.rs and windows.rs).

The cause is the merge of main into port/dualsense (2367746). In crates/victory-loader/src/lib.rs the DualSense modules sit right next to the lock #48 added, and the merge kept port/dualsense's side of that spot, so the lock's lines went while the two places that take it stayed. This puts the seven lines back exactly as #48 had them. I compared that merge against both of its parents and lib.rs is the only file where one side's change was lost (Cargo.lock and victory-hle's Cargo.toml, also changed on both sides, came through whole).

Clippy -D warnings is clean in both of the Lint workflow's runs again, and victory-loader's tests pass (127 + 2 + 1), the minidump test included.

AI-assisted: yes

🤖 Generated with Claude Code

**@⁠Kal0s-design** on GitHub · 2026-12-05 20:12 UTC · [original](https://github.com/VGLALALA/ReVictory-RDNA3/pull/74) `Kal0s-design:fix/loader-test-lock` → `main` · +7 −0 · 1 files · 1 commits · closed without merging Main's Lint run fails since the DualSense merge, with E0425 "cannot find value TEST_LOAD_LOCK in the crate root" in victory-loader's test build (minidump.rs and windows.rs). The cause is the merge of main into port/dualsense (2367746). In crates/victory-loader/src/lib.rs the DualSense modules sit right next to the lock #48 added, and the merge kept port/dualsense's side of that spot, so the lock's lines went while the two places that take it stayed. This puts the seven lines back exactly as #48 had them. I compared that merge against both of its parents and lib.rs is the only file where one side's change was lost (Cargo.lock and victory-hle's Cargo.toml, also changed on both sides, came through whole). Clippy -D warnings is clean in both of the Lint workflow's runs again, and victory-loader's tests pass (127 + 2 + 1), the minidump test included. AI-assisted: yes 🤖 Generated with [Claude Code](https://claude.com/claude-code)
The merge 2367746 took port/dualsense's side of crates/victory-loader/src/lib.rs,
where the dualsense modules sit next to the lock that #48 had added, and
the lock went. minidump.rs and windows.rs still take it in tests, so the
crate's test build (and the Lint workflow's clippy --all-targets) fails
with E0425 on main. The lines are put back as #48 had them.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-05 20:15:00 +00:00
github-bot closed this pull request 2026-12-05 21:22:13 +00:00
Author
Owner

@⁠Kal0s-design on GitHub · 2026-12-05 21:18 UTC · original

Closing, #76 put the same lock back on main.

**@⁠Kal0s-design** on GitHub · 2026-12-05 21:18 UTC · [original](https://github.com/VGLALALA/ReVictory-RDNA3/pull/74#issuecomment-7445529729) Closing, #76 put the same lock back on main.

Pull request closed

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