Skip to content

Commit dacf253

Browse files
Links2004gopherbot
authored andcommitted
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. Change-Id: I2aed72e6c14535cb1400b30d285bf05aa2498fde GitHub-Last-Rev: 818c723 GitHub-Pull-Request: #70141 Reviewed-on: https://go-review.googlesource.com/c/go/+/623816 LUCI-TryBot-Result: Go LUCI <[email protected]> Auto-Submit: Ian Lance Taylor <[email protected]> Reviewed-by: Mateusz Poliwczak <[email protected]> Reviewed-by: Ian Lance Taylor <[email protected]> Reviewed-by: David Chase <[email protected]>
1 parent 293a205 commit dacf253

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)