1
0
mirror of https://github.com/golang/go synced 2024-11-14 17:20:21 -07:00

net/internal/cgotest: don't try to use cgo with netgo build tag

When using bazel with hermetic_cc_toolchain resolv.h is not available.
This commit is contained in:
Markus 2024-10-31 16:32:59 +01:00 committed by Links2004
parent 6d39245514
commit 818c72323d
No known key found for this signature in database
GPG Key ID: 68FB9F01C0C482FC

View File

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
//go:build cgo && darwin
//go:build !netgo && cgo && darwin
package cgotest