diff options
| author | Dan Peterson <danp@danp.net> | 2022-11-06 17:03:00 -0400 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2022-11-07 21:05:53 +0000 |
| commit | e7422b05915759a8e4a8f38382ffd4d38d4fa2ea (patch) | |
| tree | ee80714f852267bf6ff5eddd74cb15df2b1f2769 /src/cmd | |
| parent | 969bea8d59daa6bdd478b71f6e99d8b8f625a140 (diff) | |
| download | go-e7422b05915759a8e4a8f38382ffd4d38d4fa2ea.tar.xz | |
net: adjust build tags for darwin libc calls
Support for direct libc calls was added in CL 446178 but the build
tags weren't quite activating it when cgo was not enabled. Adjust them
and add a new supporting file for darwin.
This should use the new direct libc calls with both CGO_ENABLED=0 and
CGO_ENABLED=1 when building for darwin.
Updates #12524
Change-Id: Ieee4b298dee13f389ed3a63c0a4a3a18c9180163
Reviewed-on: https://go-review.googlesource.com/c/go/+/448020
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Ian Lance Taylor <iant@google.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Run-TryBot: Dan Peterson <danp@danp.net>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Diffstat (limited to 'src/cmd')
0 files changed, 0 insertions, 0 deletions
