diff options
| author | Russ Cox <rsc@golang.org> | 2024-05-22 23:06:30 -0400 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2024-05-29 17:58:53 +0000 |
| commit | 2a7ca156b8189c68c0a29b4c66194a42c5ce3c9b (patch) | |
| tree | 7ac6dc198ebad85420719774562d29b7b59c6684 /src/runtime/map.go | |
| parent | 5121b45d7426687076c20ae0f4fcae1238f3ed47 (diff) | |
| download | go-2a7ca156b8189c68c0a29b4c66194a42c5ce3c9b.tar.xz | |
all: document legacy //go:linkname for final round of modules
Add linknames for most modules with ≥50 dependents.
Add linknames for a few other modules that we know
are important but are below 50.
Remove linknames from badlinkname.go that do not merit
inclusion (very small number of dependents).
We can add them back later if the need arises.
Fixes #67401. (For now.)
Change-Id: I1e49fec0292265256044d64b1841d366c4106002
Reviewed-on: https://go-review.googlesource.com/c/go/+/587756
Auto-Submit: Russ Cox <rsc@golang.org>
TryBot-Bypass: Russ Cox <rsc@golang.org>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Diffstat (limited to 'src/runtime/map.go')
| -rw-r--r-- | src/runtime/map.go | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/runtime/map.go b/src/runtime/map.go index 8757f18b3b..112084f5a7 100644 --- a/src/runtime/map.go +++ b/src/runtime/map.go @@ -868,6 +868,7 @@ search: // - github.com/RomiChan/protobuf // - github.com/segmentio/encoding // - github.com/ugorji/go/codec +// - github.com/wI2L/jettison // // Do not remove or change the type signature. // See go.dev/issue/67401. @@ -1394,6 +1395,7 @@ func advanceEvacuationMark(h *hmap, t *maptype, newbit uintptr) { // - github.com/goccy/go-json // - github.com/RomiChan/protobuf // - github.com/segmentio/encoding +// - github.com/v2pro/plz // // Do not remove or change the type signature. // See go.dev/issue/67401. @@ -1442,6 +1444,7 @@ func reflect_makemap(t *maptype, cap int) *hmap { // Notable members of the hall of shame include: // - gitee.com/quant1x/gox // - github.com/modern-go/reflect2 +// - github.com/v2pro/plz // // Do not remove or change the type signature. // See go.dev/issue/67401. @@ -1470,6 +1473,7 @@ func reflect_mapaccess_faststr(t *maptype, h *hmap, key string) unsafe.Pointer { // but widely used packages access it using linkname. // Notable members of the hall of shame include: // - gitee.com/quant1x/gox +// - github.com/v2pro/plz // // Do not remove or change the type signature. // @@ -1500,6 +1504,8 @@ func reflect_mapdelete_faststr(t *maptype, h *hmap, key string) { // Notable members of the hall of shame include: // - github.com/modern-go/reflect2 // - gitee.com/quant1x/gox +// - github.com/v2pro/plz +// - github.com/wI2L/jettison // // Do not remove or change the type signature. // See go.dev/issue/67401. @@ -1515,6 +1521,8 @@ func reflect_mapiterinit(t *maptype, h *hmap, it *hiter) { // - gitee.com/quant1x/gox // - github.com/modern-go/reflect2 // - github.com/goccy/go-json +// - github.com/v2pro/plz +// - github.com/wI2L/jettison // // Do not remove or change the type signature. // See go.dev/issue/67401. @@ -1556,6 +1564,7 @@ func reflect_mapiterelem(it *hiter) unsafe.Pointer { // but widely used packages access it using linkname. // Notable members of the hall of shame include: // - github.com/goccy/go-json +// - github.com/wI2L/jettison // // Do not remove or change the type signature. // See go.dev/issue/67401. |
