From b5178e1895e7db638725f9aeaad3cd5039eb7e73 Mon Sep 17 00:00:00 2001 From: emma Date: Thu, 22 Jan 2026 00:13:02 -0800 Subject: [PATCH] fix(build): disable CGO for darwin builds in goreleaser CGO cross-compilation for darwin from Linux CI runner fails without osxcross. Since Dolt/federation features are now CGO-optional, darwin builds can use CGO_ENABLED=0. Users who need Dolt features on macOS can build from source with CGO enabled. Co-Authored-By: Claude Opus 4.5 --- .goreleaser.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index c3efb802..a930f65a 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -61,7 +61,7 @@ builds: main: ./cmd/bd binary: bd env: - - CGO_ENABLED=1 + - CGO_ENABLED=0 goos: - darwin goarch: @@ -77,7 +77,7 @@ builds: main: ./cmd/bd binary: bd env: - - CGO_ENABLED=1 + - CGO_ENABLED=0 goos: - darwin goarch: