fix(loader): keep Windows crash handling out of portable builds #1108

Manually merged
github merged 1 commit from github-bot/gh-1108 into main 2026-11-29 08:22:31 +00:00 AGit
Owner

@⁠LgscobraPT on GitHub · 2026-11-28 13:23 UTC · original
LgscobraPT:fix/loader-windows-crash-module → main · +8 −0 · 2 files · 1 commits · merged 2026-11-29 08:16 UTC

Summary

  • Compile the Win32 crash reporter only on Windows, like its existing exports and call sites. This fixes the native Linux build for victory-loader.
  • Keep the cache publication helper available to the Windows loader and to its portable unit tests.
  • Run tests that parse the test executable as a PE image only on Windows. The synthetic PE and cache tests still run on Linux.

Verification

  • Reproduced the missing windows_sys and console_insn errors from cargo check --locked -p victory-loader --all-targets --all-features on the base commit. The same check passes with this patch.
  • cargo test --locked -p victory-loader --all-features: six portable tests passed on Linux.
  • cargo clippy --locked -p victory-loader --all-targets --all-features -- -D warnings passed on Linux.
  • cargo check --locked --target x86_64-pc-windows-msvc -p victory-loader --all-targets --all-features --features blake3/pure passed. Windows execution was not tested.
  • The full native Linux workspace check still fails in victory-gpu on Windows-only D3D12 dependencies; this change is limited to the loader.
**@⁠LgscobraPT** on GitHub · 2026-11-28 13:23 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/1108) `LgscobraPT:fix/loader-windows-crash-module` → `main` · +8 −0 · 2 files · 1 commits · merged 2026-11-29 08:16 UTC ## Summary - Compile the Win32 crash reporter only on Windows, like its existing exports and call sites. This fixes the native Linux build for `victory-loader`. - Keep the cache publication helper available to the Windows loader and to its portable unit tests. - Run tests that parse the test executable as a PE image only on Windows. The synthetic PE and cache tests still run on Linux. ## Verification - Reproduced the missing `windows_sys` and `console_insn` errors from `cargo check --locked -p victory-loader --all-targets --all-features` on the base commit. The same check passes with this patch. - `cargo test --locked -p victory-loader --all-features`: six portable tests passed on Linux. - `cargo clippy --locked -p victory-loader --all-targets --all-features -- -D warnings` passed on Linux. - `cargo check --locked --target x86_64-pc-windows-msvc -p victory-loader --all-targets --all-features --features blake3/pure` passed. Windows execution was not tested. - The full native Linux workspace check still fails in `victory-gpu` on Windows-only D3D12 dependencies; this change is limited to the loader.
Gate Win32-only crash reporting and host-executable PE tests to Windows. Keep cache publication available on Windows and under test so the portable loader builds and its Linux tests run.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-28 14:33:28 +00:00
github manually merged commit 994f6ea99b into main 2026-11-29 08:22:31 +00:00
This discussion has been locked. Commenting is limited to contributors.
No reviewers
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/trustno1-coder--VIctory-NVIDIA!1108
No description provided.