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:
parent
de0e72610b
commit
b3b2f5d9ca
2
src/cmd/go/testdata/script/mod_case_cgo.txt
vendored
2
src/cmd/go/testdata/script/mod_case_cgo.txt
vendored
@ -1,3 +1,5 @@
|
||||
[!cgo] skip
|
||||
|
||||
env GO111MODULE=on
|
||||
|
||||
go get rsc.io/CGO
|
||||
|
Loading…
Reference in New Issue
Block a user