aboutsummaryrefslogtreecommitdiff
path: root/src/os/exec/exec.go
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2022-10-28 10:54:37 -0400
committerRuss Cox <rsc@golang.org>2022-11-01 14:05:39 +0000
commita3559f3301b54468c14d4997af0d617db60f4915 (patch)
tree3246f85a010cc7b0edff477db3b3514278e7bc4e /src/os/exec/exec.go
parent661e931dd120484cc1318792bc93ace00bbde088 (diff)
downloadgo-a3559f3301b54468c14d4997af0d617db60f4915.tar.xz
net: use libc (not cgo) for DNS on macOS
Change the macOS implementation to use libc calls. Using libc calls directly is what we do for all the runtime and os syscalls. Doing so here as well improves consistency and also makes it possible to cross-compile (from non-Mac systems) macOS binaries that use the native name resolver. Fixes #12524. Change-Id: I011f4fcc5c50fbb5396e494889765dcbb9342336 Reviewed-on: https://go-review.googlesource.com/c/go/+/446178 Run-TryBot: Russ Cox <rsc@golang.org> Reviewed-by: Ian Lance Taylor <iant@google.com>
Diffstat (limited to 'src/os/exec/exec.go')
0 files changed, 0 insertions, 0 deletions