1
0
mirror of https://github.com/golang/go synced 2024-11-26 07:38:00 -07:00

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 <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>
This commit is contained in:
Ian Lance Taylor 2021-03-24 13:18:13 -07:00
parent 63e9f6d5f0
commit 179bcd787e

View 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