fix(hle): skip unavailable host exports in net test #256
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!256
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/256/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?
@CesarLopesO on GitHub · 2026-11-24 01:52 UTC · original
CesarLopesO:fix/win10-host-export-test→main· +4 −1 · 1 files · 1 commits · closed without mergingSummary
Closes #118
Validation
@jeremygold02 on GitHub · 2026-11-24 05:56 UTC · original
Tested current PR head
4c57d95c6c15aac53f91a9cd803f586ec0a43eac.cargo test --locked -p victory-hle --lib only_loopback_is_reachable -- --test-threads=1: 1 passed, 85 filtered out. The test allows a local loopback connection, expects a TEST-NET-1 destination to fail withWSAENETUNREACH, rejects external-name lookups, and checks numeric reverse lookup plus theConnectExextension path. Its export-validation loop now asserts the mapping only for host functions that are available (network test and export check).Unavailable host exports are deliberately skipped, so this run does not validate their runtime resolution path. The test uses loopback and reserved TEST-NET-1 addresses; it does not require a game or outbound network access.
@Exorion1er on GitHub · 2026-11-24 09:33 UTC · original
Both this PR and #349 change
only_loopback_is_reachablefor Windows 10 hosts without the newer winhttp exports (#118). #152 (merged 07:52 today) already does this onmain: it skips the exports only when the host lacks them. Both PRs now conflict withmainin that test, so I think both can be closed.Checked by reading the diffs against
main. AI-assisted (Claude Code).Pull request closed