Skip to content

Add Windows flock implementation - #2

Merged
dcadolph merged 1 commit into
mainfrom
windows-flock
Jul 6, 2026
Merged

dcadolph merged 1 commit into
mainfrom
windows-flock

Conversation

@dcadolph

@dcadolph dcadolph commented Jul 6, 2026

Copy link
Copy Markdown
Owner

The flock package used syscall.Flock unconditionally, so the goreleaser Windows builds failed. Splits the package into unix (flock) and windows (LockFileEx) implementations with identical behavior, and adds a CI job cross-compiling every goreleaser target so platform breakage is caught on PRs.

@dcadolph
dcadolph merged commit b1bc842 into main Jul 6, 2026
7 checks passed
@dcadolph
dcadolph deleted the windows-flock branch July 6, 2026 18:08
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