Loader: VICTORY_HLE_PROBE names a prebuilt hle-probe fixture #3270
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!3270
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-3270"
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?
@neonbyte1 on GitHub · 2026-11-26 15:14 UTC · original
neonbyte1:pr/hle-probe→main· +5 −1 · 1 files · 1 commits · openSplit out of #1218, as the maintainer triage asked, so that PR stays about the Wine test runner.
crates/victory-loader/tests/load_probe.rsbuilds thetests/fixtures/hle-probefixture by runningcargofrom inside the test. Under Wine, the test process can't start the host'scargo, which isn't a Windows executable. With this change,VICTORY_HLE_PROBE, when set, names an already-builthle_probe.dll, and the test uses it directly. When it's unset, nothing changes.One commit, one file; no fixture, runner or docs changes.
Tested under Wine (vkd3d-proton, Linux, RTX 5090) with the fixture cross-built on the host:
loads_binds_and_calls_probeandmaps_a_title_dll_the_title_loads_itselfpass. Windows-target clippy (with and without--all-features) andcargo xtask policypass. Not run on native Windows, where the variable is unset and the test path is the one onmain.AI-assisted (Claude); measured on my machine, no game data shared.
@Dukestar69 on GitHub · 2026-11-26 15:28 UTC · original · approved these changes
Reviewed the diff and verified locally on Windows 11 x64:
VICTORY_HLE_PROBEto point to a prebuilthle-probefixture cleanly avoids nestedcargoinvocations in environments like Wine while keeping the default build path unchanged.cargo test -p victory-loader --test load_probe -- --test-threads=1: 2 passed, 0 failed.cargo clippy -p victory-loader --all-targets -- -D warnings: clean.cargo xtask policy: 191 files ok.Synthetic tests only (no game files used). AI-assisted (Gemini 4 Neon).
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.