Skip to content

Fix Windows ARM64 builds of frame-completion wait code - #315

Merged
eugr merged 1 commit into
mainfrom
fix/windows-wait-code
Nov 16, 2026
Merged

eugr merged 1 commit into
mainfrom
fix/windows-wait-code

Conversation

@eugr

@eugr eugr commented Nov 16, 2026

Copy link
Copy Markdown
Collaborator

Windows ARM64 CLI and WinUI builds fail because the architecture-only guard for Helios's frame-completion wait module compiles libc::getauxval and libc::AT_HWCAP2, which are Linux-only. The optimization relies on Linux hardware-capability discovery.

Require both Linux and ARM64 for the host_wait module, wake-word initialization, park implementation, and timeout constant. Other targets use the existing polling path, with CUDA event queries continuing to determine frame completion.

This restores native Windows ARM64 compilation. Linux ARM64 retains the same wait implementation.

Validation on native Windows ARM64 with Rust 1.100.0:

  • scripts/dev_windows.ps1 -Action Build passed.
  • scripts/build_winui.ps1 -Platform ARM64 -Configuration Release -SingleFile passed, including the Rust bridge and single-file launcher.
  • scripts/dev_windows.ps1 -Action Smoke passed version, top-level help, download help, and JSON model-list checks.

Linux builds and wait execution, GUI launch, and model inference were not tested.

Windows ARM64 CLI and WinUI builds fail because the architecture-only guard for Helios's frame-completion wait module compiles libc::getauxval and libc::AT_HWCAP2, which are Linux-only. The optimization relies on Linux hardware-capability discovery.

Require both Linux and ARM64 for the host_wait module, wake-word initialization, park implementation, and timeout constant. Other targets use the existing polling path, with CUDA event queries continuing to determine frame completion.

This restores native Windows ARM64 compilation. Linux ARM64 retains the same wait implementation.

Validation on native Windows ARM64 with Rust 1.100.0:

- scripts/dev_windows.ps1 -Action Build passed.
- scripts/build_winui.ps1 -Platform ARM64 -Configuration Release -SingleFile passed, including the Rust bridge and single-file launcher.
- scripts/dev_windows.ps1 -Action Smoke passed version, top-level help, download help, and JSON model-list checks.

Linux builds and wait execution, GUI launch, and model inference were not tested.

Design-Signed-Off-By: Codex (GPT-6); design-review=ed22
@eugr
eugr merged commit 5fd4070 into main Nov 16, 2026
2 checks passed
@eugr
eugr deleted the fix/windows-wait-code branch November 16, 2026 21:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant