diff options
| author | Markus <974709+Links2004@users.noreply.github.com> | 2024-11-04 19:17:55 +0000 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2024-11-05 17:10:13 +0000 |
| commit | dacf253afa7e87cc913f8e25d6870b9e8d62a606 (patch) | |
| tree | f5cb6c9f01f434529382728c62badafcd58c1195 /src | |
| parent | 293a205f3c196dcc2eb22bc03b520cad659fce93 (diff) | |
| download | go-dacf253afa7e87cc913f8e25d6870b9e8d62a606.tar.xz | |
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: 818c72323d3c61576d61dbe7564d15cf866ed67e
GitHub-Pull-Request: golang/go#70141
Reviewed-on: https://go-review.googlesource.com/c/go/+/623816
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Mateusz Poliwczak <mpoliwczak34@gmail.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: David Chase <drchase@google.com>
Diffstat (limited to 'src')
| -rw-r--r-- | src/net/internal/cgotest/resstate.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/internal/cgotest/resstate.go b/src/net/internal/cgotest/resstate.go index 1b4871109e..62cfa24e46 100644 --- a/src/net/internal/cgotest/resstate.go +++ b/src/net/internal/cgotest/resstate.go @@ -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 |
