]> Cypherpunks repositories - gostls13.git/commit
cmd/cgo: check whether C compiler exists
authorAndrey Bokhanko <andreybokhanko@gmail.com>
Fri, 12 Mar 2021 16:21:18 +0000 (00:21 +0800)
committerIan Lance Taylor <iant@golang.org>
Wed, 17 Mar 2021 20:29:22 +0000 (20:29 +0000)
commit4313c2886160613ca62742d0f46665cf8954213c
treefd3127648fb182f0acb6d65858f195f39dcd7f2c
parenta5df88355cb8998856a5dbd3550b98e5de1f6009
cmd/cgo: check whether C compiler exists

Currently we print a cryptic message if a C compiler doesn't exist.
This patch adds more graceful handling.

Fixes #44271

Change-Id: I44f16ef6eb2853fee22fa1d996e41ec6c9ee82f1
Reviewed-on: https://go-review.googlesource.com/c/go/+/301249
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Reviewed-by: David Chase <drchase@google.com>
src/cmd/cgo/main.go