Tests: gate own-PE binary tests to Windows and clean non-Windows test warnings #192
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/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?
Imported from fxceless/victory-fork. Originally posted by gdawid9407 on 2026-11-24T22:22:05Z.
victory-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.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.