From: Ian Lance Taylor Date: Wed, 24 Mar 2021 20:18:13 +0000 (-0700) Subject: test: only run bug513.go if cgo is enabled X-Git-Tag: go1.17beta1~992 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=179bcd787e4a5c4cfe475fd6fd33a41d77751113;p=gostls13.git test: only run bug513.go if cgo is enabled Change-Id: I868eeb79edaba9e3afc1407ae18b89daf7e67037 Reviewed-on: https://go-review.googlesource.com/c/go/+/304570 Trust: Ian Lance Taylor Run-TryBot: Ian Lance Taylor Reviewed-by: Matthew Dempsky TryBot-Result: Go Bot --- diff --git a/test/fixedbugs/bug513.go b/test/fixedbugs/bug513.go index f7604f681c..459a9c396a 100644 --- a/test/fixedbugs/bug513.go +++ b/test/fixedbugs/bug513.go @@ -1,5 +1,6 @@ // run -race -gcflags=all=-d=checkptr=0 // +build linux,amd64 linux,ppc64le darwin,amd64 freebsd,amd64 netbsd,amd64 windows,amd64 +// +build cgo // Copyright 2021 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style