]> Cypherpunks repositories - gostls13.git/commit
cmd/go: disable cgo by default if CC unset and DefaultCC doesn't exist
authorqiulaidongfeng <2645477756@qq.com>
Sat, 13 Sep 2025 18:32:24 +0000 (02:32 +0800)
committerMichael Matloob <matloob@golang.org>
Tue, 16 Sep 2025 19:23:37 +0000 (12:23 -0700)
commitc2d85eb999fcd428a1cd71ed93805cbde0c16eaa
tree09e82a4659458f63fe36fddcebdfc0d7363c84df
parentac82fe68aaec797a9677171b00241fba57f057bc
cmd/go: disable cgo by default if CC unset and  DefaultCC doesn't exist

CL 621995 disrupted the behavior
introduced by CL 450739, now restore it.

Fixes #75340

Change-Id: Icd1a0eb970876995f9446e0547ceb9e78990f6ed
Reviewed-on: https://go-review.googlesource.com/c/go/+/703555
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Matloob <matloob@golang.org>
Reviewed-by: Michael Matloob <matloob@google.com>
Reviewed-by: Ian Alexander <jitsu@google.com>
Reviewed-by: Sean Liao <sean@liao.dev>
src/cmd/go/internal/cfg/cfg.go