]> Cypherpunks repositories - gostls13.git/commitdiff
test: only run bug513.go if cgo is enabled
authorIan Lance Taylor <iant@golang.org>
Wed, 24 Mar 2021 20:18:13 +0000 (13:18 -0700)
committerIan Lance Taylor <iant@golang.org>
Wed, 24 Mar 2021 21:20:10 +0000 (21:20 +0000)
Change-Id: I868eeb79edaba9e3afc1407ae18b89daf7e67037
Reviewed-on: https://go-review.googlesource.com/c/go/+/304570
Trust: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Go Bot <gobot@golang.org>

test/fixedbugs/bug513.go

index f7604f681c5d461cc41e2ca1c9314267a23cc3fd..459a9c396ac8cf752db159444679ab40a2016321 100644 (file)
@@ -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