cmd/go: GOOS=android requires explicitly setting CGO_ENABLED=1 #30216
Labels
FrozenDueToAge
mobile
Android, iOS, and x/mobile
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
What did you expect to see?
The command should succeed without explicitly setting
CGO_ENABLED=1
What did you see instead?
Without explicitly setting
CGO_ENABLED
(go env
shows it defaults toCGO_ENABLED=0
)Explicitly setting
CGO_ENABLED=1
leads to a successful buildThe text was updated successfully, but these errors were encountered: