]> Cypherpunks repositories - gostls13.git/commit
cmd/go: error out of linking package main if cgo is required but not enabled
authorBryan C. Mills <bcmills@google.com>
Wed, 23 Aug 2023 20:32:46 +0000 (16:32 -0400)
committerGopher Robot <gobot@golang.org>
Wed, 23 Aug 2023 21:55:28 +0000 (21:55 +0000)
commit079dfdcac0448168e22a72baa61b9ab5de8ce54e
tree2154a8a4b0f68ddfc8be062c284c6daf0bb5965e
parent2763146099384e320e2d1c0fc41b3b3906050652
cmd/go: error out of linking package main if cgo is required but not enabled

Fixes #46330.
Fixes #62123.
Updates #31544.

Change-Id: I023aa2bdb5a24e126a0de5192a077e8cf1a0a67c
Reviewed-on: https://go-review.googlesource.com/c/go/+/522239
Run-TryBot: Bryan Mills <bcmills@google.com>
Auto-Submit: Bryan Mills <bcmills@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
src/cmd/go/internal/load/pkg.go
src/cmd/go/internal/load/test.go
src/cmd/go/internal/work/action.go
src/cmd/go/testdata/script/test_android_issue62123.txt [new file with mode: 0644]