1
0
mirror of https://github.com/golang/go synced 2024-11-23 18:40:03 -07:00

cmd/go: skip cgo test when cgo isn't available

Fixes #26758

Change-Id: If08bafc85c353dfbb546107b75c8c884ab9c88e4
Reviewed-on: https://go-review.googlesource.com/127475
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
This commit is contained in:
Brad Fitzpatrick 2018-08-02 05:08:51 +00:00 committed by Bryan C. Mills
parent de0e72610b
commit b3b2f5d9ca

View File

@ -1,3 +1,5 @@
[!cgo] skip
env GO111MODULE=on
go get rsc.io/CGO