mirror of
https://github.com/golang/go
synced 2024-11-14 23:00:29 -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:
parent
6d39245514
commit
818c72323d
@ -2,7 +2,7 @@
|
|||||||
// Use of this source code is governed by a BSD-style
|
// Use of this source code is governed by a BSD-style
|
||||||
// license that can be found in the LICENSE file.
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
//go:build cgo && darwin
|
//go:build !netgo && cgo && darwin
|
||||||
|
|
||||||
package cgotest
|
package cgotest
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user