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/runtime/malloc.go | |
| 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/runtime/malloc.go')
| -rw-r--r-- | src/runtime/malloc.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/runtime/malloc.go b/src/runtime/malloc.go index 097946df66..e2f296e7c4 100644 --- a/src/runtime/malloc.go +++ b/src/runtime/malloc.go @@ -1407,6 +1407,7 @@ func reflectlite_unsafe_New(typ *_type) unsafe.Pointer { // newarray should be an internal detail, // but widely used packages access it using linkname. // Notable members of the hall of shame include: +// - github.com/segmentio/encoding // - github.com/ugorji/go/codec // // Do not remove or change the type signature. @@ -1430,6 +1431,7 @@ func newarray(typ *_type, n int) unsafe.Pointer { // - github.com/bytedance/sonic // - github.com/goccy/json // - github.com/modern-go/reflect2 +// - github.com/segmentio/encoding // - github.com/segmentio/kafka-go // // Do not remove or change the type signature. |
