From: Ian Lance Taylor Date: Fri, 31 May 2024 03:51:15 +0000 (-0700) Subject: runtime: remove zhangyunhao116/fastrand from cheaprand linkname comment X-Git-Tag: go1.23rc1~98 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=639cc0dcc0948dd02c9d5fc12fbed730a21ebebc;p=gostls13.git runtime: remove zhangyunhao116/fastrand from cheaprand linkname comment As of version 0.5.0 and Go 1.22 it no longer linknames cheaprand. Fixes #67709 Change-Id: Ie00900e6428244fa1506bc509c265c10dc322f7a Reviewed-on: https://go-review.googlesource.com/c/go/+/589555 Auto-Submit: Ian Lance Taylor Reviewed-by: Michael Knyszek Reviewed-by: Than McIntosh LUCI-TryBot-Result: Go LUCI --- diff --git a/src/runtime/rand.go b/src/runtime/rand.go index 021883dab1..a66553feeb 100644 --- a/src/runtime/rand.go +++ b/src/runtime/rand.go @@ -182,7 +182,6 @@ func randn(n uint32) uint32 { // but widely used packages access it using linkname. // Notable members of the hall of shame include: // - github.com/bytedance/gopkg -// - github.com/zhangyunhao116/fastrand // // Do not remove or change the type signature. // See go.dev/issue/67401.