mirror of
https://github.com/coder/coder.git
synced 2026-06-03 04:58:23 +00:00
144b32a4b6
Previously main.go used syscall.SysProcAttr{Setpgid: true} and
syscall.Kill, both undefined on Windows. This broke GOOS=windows
cross-compilation.
Add a //go:build !windows constraint to the package since it is
a dev-only tool that requires Unix utilities (bash, make, etc.)
and is not intended to run on Windows.
Refs #23054
Fixes coder/internal#1407