diff options
| author | Ian Lance Taylor <iant@golang.org> | 2022-06-21 15:17:22 -0700 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2022-06-22 16:18:44 +0000 |
| commit | 92c9b81447649d5a8ed38ca79b71640c099e0243 (patch) | |
| tree | e521d8ba4bace9dba9e6acc3386df6cf96233430 /src/encoding | |
| parent | be0b2a393a5a7297a3c8f42ca7d5ad3e4b15dcbe (diff) | |
| download | go-92c9b81447649d5a8ed38ca79b71640c099e0243.tar.xz | |
net: don't set netGo = true on Windows with no cgo
Windows can call the C DNS lookup routines even without cgo,
so don't force it to use the Go routines in that scenario.
No test because the test requires building the tools with CGO_ENABLED=0.
For #33097
Fixes #53490
Change-Id: I3595a68e788be0d3bbd1bbd431836aca20a7d757
Reviewed-on: https://go-review.googlesource.com/c/go/+/413458
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Diffstat (limited to 'src/encoding')
0 files changed, 0 insertions, 0 deletions
