Tests: gate own-PE binary tests to Windows and clean non-Windows test warnings #192
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/fxceless--victory-fork!192
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-192"
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?
@gdawid9407 on GitHub · 2026-11-24 22:22 UTC · original
gdawid9407:fix/non-windows-tests→main· +15 −3 · 2 files · 1 commits · openvictory-peunit tests readingstd::env::current_exe()assume the test runner binary is a PE32+ image, panicking on Mach-O/ELF hosts when running offline crate tests on macOS or Linux. Gate theown_image()tests totarget_os = "windows"and#[cfg(windows)]-gate Windows-only test imports/bindings invictory-shaderso both Windows CI and non-Windows hosts passclippy --all-targets -- -D warningsandcargo test.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.