Skip to content

Commit 818c723

Browse files
committed
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.
1 parent 6d39245 commit 818c723

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/net/internal/cgotest/resstate.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Use of this source code is governed by a BSD-style
33
// license that can be found in the LICENSE file.
44

5-
//go:build cgo && darwin
5+
//go:build !netgo && cgo && darwin
66

77
package cgotest
88

0 commit comments

Comments
 (0)