From 05cbbf985fed823a174bf95cc78a7d44f948fdab Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Wed, 22 May 2024 15:03:13 -0400 Subject: all: document legacy //go:linkname for modules with ≥500 dependents MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit For #67401. Change-Id: I7dd28c3b01a1a647f84929d15412aa43ab0089ee Reviewed-on: https://go-review.googlesource.com/c/go/+/587575 Reviewed-by: Cherry Mui Auto-Submit: Russ Cox LUCI-TryBot-Result: Go LUCI --- src/runtime/alg.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/runtime/alg.go') diff --git a/src/runtime/alg.go b/src/runtime/alg.go index 4886db944c..f40cc9b8b6 100644 --- a/src/runtime/alg.go +++ b/src/runtime/alg.go @@ -50,6 +50,7 @@ var useAeshash bool // but widely used packages access it using linkname. // Notable members of the hall of shame include: // - github.com/dgraph-io/ristretto +// - github.com/outcaste-io/ristretto // // Do not remove or change the type signature. // See go.dev/issue/67401. @@ -65,6 +66,7 @@ func memhash64(p unsafe.Pointer, h uintptr) uintptr // Notable members of the hall of shame include: // - github.com/aristanetworks/goarista // - github.com/bytedance/sonic +// - github.com/bytedance/go-tagexpr/v2 // // Do not remove or change the type signature. // See go.dev/issue/67401. @@ -140,6 +142,7 @@ func interhash(p unsafe.Pointer, h uintptr) uintptr { // nilinterhash should be an internal detail, // but widely used packages access it using linkname. // Notable members of the hall of shame include: +// - github.com/anacrolix/stm // - github.com/aristanetworks/goarista // // Do not remove or change the type signature. -- cgit v1.3-6-g1900