Commit 455438e
fix: cross-platform build — extract syscall into build-tagged files
Setpgid and syscall.Kill are Unix-only. Move process group management
into proc_unix.go and proc_windows.go with build tags so goreleaser
can compile for all targets.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 094f485 commit 455438e
3 files changed
Lines changed: 39 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | 11 | | |
13 | 12 | | |
14 | 13 | | |
| |||
1036 | 1035 | | |
1037 | 1036 | | |
1038 | 1037 | | |
1039 | | - | |
| 1038 | + | |
1040 | 1039 | | |
1041 | 1040 | | |
1042 | 1041 | | |
| |||
1061 | 1060 | | |
1062 | 1061 | | |
1063 | 1062 | | |
1064 | | - | |
1065 | | - | |
1066 | | - | |
1067 | | - | |
| 1063 | + | |
| 1064 | + | |
1068 | 1065 | | |
1069 | 1066 | | |
1070 | 1067 | | |
0 commit comments