Skip to content

Commit b3b2f5d

Browse files
bradfitzBryan C. Mills
authored and
Bryan C. Mills
committed
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 <[email protected]> TryBot-Result: Gobot Gobot <[email protected]> Reviewed-by: Bryan C. Mills <[email protected]>
1 parent de0e726 commit b3b2f5d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/cmd/go/testdata/script/mod_case_cgo.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
[!cgo] skip
2+
13
env GO111MODULE=on
24

35
go get rsc.io/CGO

0 commit comments

Comments
 (0)