net: only_loopback_is_reachable test panics on Windows 10 (WinHttpGetProxySettingsEx missing) #118
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Imported from Marvisak/VIctory. Originally posted by noviw-rblx on 2026-11-24T00:40:03Z.
Problem
cargo test --workspacefails on Windows 10 with:The test asserts that every HLE override names a real export of its host DLL.
WinHttpGetProxySettingsExis provided by the HLE itself (it returnsno_auto_proxy()) and is absent fromwinhttp.dllon Windows 10 (it only exists on newer Windows).Root cause
The host-presence assertion is too strict for HLE-provided functions that may not exist on every supported Windows version.
Suggested fix
Skip the assertion for exports the host doesn't have (the HLE supplies them itself):
Verified on Windows 10 (CPython/Rust 1.98.1):
cargo test -p victory-hle --lib net→ 2 passed, 0 failed (was 1 failure). No game data required.Environment
..in a title path stops at the virtual drive's root #182