Commit 01de232
fix(build): limit stderr suppression to Darwin only
Conservative approach to avoid cross-platform build issues.
Only enable file descriptor manipulation on macOS where it's tested.
- stderr_darwin.go: macOS-only implementation with syscall.Dup2
- stderr_other.go: no-op for all other platforms (Linux, Windows, etc.)
This ensures GoReleaser can build for all platforms successfully.
SDK warnings may appear on non-macOS platforms but that's acceptable.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent 3440640 commit 01de232
3 files changed
Lines changed: 10 additions & 10 deletions
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
This file was deleted.
0 commit comments