diff options
| author | Russ Cox <rsc@golang.org> | 2024-05-22 00:14:42 -0400 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2024-05-23 01:16:50 +0000 |
| commit | 1d3d6ae725697c5b224b26cb3aa1325ac37f72d7 (patch) | |
| tree | e22bad9c9b2df96ec7c431b54c8cc7e6297656fd /src/syscall | |
| parent | 519b0116a15d80042a0ab1a35c14d98c47093109 (diff) | |
| download | go-1d3d6ae725697c5b224b26cb3aa1325ac37f72d7.tar.xz | |
all: document legacy //go:linkname for modules with ≥1,000 dependents
For #67401.
Change-Id: If23a2c07e3dd042a3c439da7088437a330b9caa4
Reviewed-on: https://go-review.googlesource.com/c/go/+/587222
Auto-Submit: Russ Cox <rsc@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Diffstat (limited to 'src/syscall')
| -rw-r--r-- | src/syscall/syscall_darwin.go | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/syscall/syscall_darwin.go b/src/syscall/syscall_darwin.go index 2e13b57cd3..5b38aeae31 100644 --- a/src/syscall/syscall_darwin.go +++ b/src/syscall/syscall_darwin.go @@ -113,6 +113,15 @@ func libc_getfsstat_trampoline() //go:cgo_import_dynamic libc_getfsstat getfsstat "/usr/lib/libSystem.B.dylib" +// utimensat should be an internal detail, +// but widely used packages access it using linkname. +// Notable members of the hall of shame include: +// - github.com/tetratelabs/wazero +// +// See go.dev/issue/67401. +// +//go:linkname utimensat + //sys utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error) /* |
