Skip to content

Commit 2bcc9cf

Browse files
pmclSFclaude
andcommitted
fix(release): Enable CGO for tree-sitter, limit to linux/amd64
The go-tree-sitter dependency requires CGO (C bindings). Cross-compilation with CGO_ENABLED=0 fails on the GitHub Actions runner. Limit the initial 0.1.0 release to linux/amd64 (native on the runner). macOS and Windows builds will be added in a follow-up with cross-compiler toolchains. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 73e19bd commit 2bcc9cf

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

.goreleaser.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,11 @@ builds:
66
- main: ./cmd/terrain
77
binary: terrain
88
env:
9-
- CGO_ENABLED=0
9+
- CGO_ENABLED=1
1010
goos:
1111
- linux
12-
- darwin
13-
- windows
1412
goarch:
1513
- amd64
16-
- arm64
1714
ldflags:
1815
- -s -w
1916
- -X main.version={{.Version}}

0 commit comments

Comments
 (0)