Skip to content

feat(cli): ship a native Windows x64 binary with each release - #6382

Merged
nicoloboschi merged 2 commits into
mainfrom
feat/windows-cli
Nov 6, 2026
Merged

nicoloboschi merged 2 commits into
mainfrom
feat/windows-cli

Conversation

@nicoloboschi

Copy link
Copy Markdown
Collaborator

Closes #5258.

Each release now ships a native Windows x64 CLI, hindsight-windows-amd64.exe, next to the Linux and macOS binaries.

  • Release (release.yml): adds x86_64-pc-windows-msvc on windows-latest to the CLI matrix, skips chmod on Windows, and downloads + attaches the .exe to the GitHub release. The download step fails the release if the Windows build is missing.
  • CI (test.yml): new build-rust-cli-windows job on CLI changes, next to build-rust-cli-arm64. It builds the release binary and runs --version and memory retain|recall|reflect --help, so a Unix-only API breaks a PR, not a release.
  • Docs: Windows install steps on the CLI page (next docs only, since released versions have no .exe). Background mounts (fs start, mount --detach) are Unix-only; the foreground fs mount works.

No Rust code changes: the Unix-only parts were already switched off on Windows. Based on the reference patch in #5167 by @AndyZHENG0715.

Adds x86_64-pc-windows-msvc to the release matrix (asset
hindsight-windows-amd64.exe), a Windows build + smoke check in CI on CLI
changes, and Windows install steps in the CLI docs.

Closes #5258
Review fix: CLI commands in docs must come from tested example files;
the install block now only downloads the binary.
@nicoloboschi
nicoloboschi merged commit 83a1f6d into main Nov 6, 2026
220 of 222 checks passed
@nicoloboschi
nicoloboschi deleted the feat/windows-cli branch November 6, 2026 11:11
@AndyZHENG0715

Copy link
Copy Markdown

Thanks for shipping this, and for the credit in the description!

Small process note: #6404 the same afternoon got a Co-authored-by trailer for a patch credited the same way, while #6382 didn't, so it probably just slipped. With external PRs now re-implemented internally, adding the trailer by default would let original authors show up in GitHub's contributor stats. Not asking to change anything already merged, just for future ones.

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.

Publish native Windows x64 CLI binaries in official releases

2 participants