Skip to content

Add the Windows peer of darwin-stub - #32

Merged
tannevaled merged 1 commit into
mainfrom
windows-lane
Sep 3, 2026
Merged

Add the Windows peer of darwin-stub#32
tannevaled merged 1 commit into
mainfrom
windows-lane

Conversation

@tannevaled

Copy link
Copy Markdown
Contributor

Add the Windows peer of darwin-stub

A fleet-wide audit of the 601 repositories holding Go code put this one a
single lane short of the standard: no windows-latest runner. Windows is the
fleet's real gap — absent from 327 of 601 (54.4%), where each exotic
architecture is missing from only ~189 (31.4%).

The cross job already builds windows/amd64 and windows/arm64, which proves
the module compiles there and nothing more. This runs the suite on a real
Windows host, the way darwin-stub already does for macOS.

CGO_ENABLED goes in env rather than in front of each command: the POSIX
prefix darwin-stub uses (CGO_ENABLED=0 go vet ./...) is read by PowerShell
as a command it cannot find, and that idiom is the reason several
repositories in this fleet had no Windows lane at all.

Checked before proposing: go vet passes with GOOS=windows and every test
binary cross-compiles for windows/amd64.

Co-Authored-By: Claude Opus 5 noreply@anthropic.com

A fleet-wide audit of the 601 repositories holding Go code put this one a
single lane short of the standard: no windows-latest runner. Windows is the
fleet's real gap — absent from 327 of 601 (54.4%), where each exotic
architecture is missing from only ~189 (31.4%).

The `cross` job already builds windows/amd64 and windows/arm64, which proves
the module compiles there and nothing more. This runs the suite on a real
Windows host, the way darwin-stub already does for macOS.

CGO_ENABLED goes in `env` rather than in front of each command: the POSIX
prefix darwin-stub uses (`CGO_ENABLED=0 go vet ./...`) is read by PowerShell
as a command it cannot find, and that idiom is the reason several
repositories in this fleet had no Windows lane at all.

Checked before proposing: `go vet` passes with GOOS=windows and every test
binary cross-compiles for windows/amd64.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@tannevaled
tannevaled merged commit 2f93104 into main Sep 3, 2026
22 checks passed
@tannevaled
tannevaled deleted the windows-lane branch September 3, 2026 20:06
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