]> Cypherpunks repositories - gostls13.git/commit
internal/concurrent: remove dependency on math/rand/v2
authorMichael Anthony Knyszek <mknyszek@google.com>
Fri, 21 Jun 2024 17:07:28 +0000 (17:07 +0000)
committerGopher Robot <gobot@golang.org>
Mon, 18 Nov 2024 19:59:59 +0000 (19:59 +0000)
commitcea365ddfb21ba0538072068a39c358733956ffa
tree457d6693f7b8fc9b3ccbdbf6d23109401c9fe36d
parent6c660052856feae2bf1f3fe44665b5da0002500d
internal/concurrent: remove dependency on math/rand/v2

This change uses linkname for the one random function
internal/concurrent needs to avoid taking a dependency on math/rand/v2.
This lowers the bar to using this package.

Change-Id: I9dba1121b66ba35f56521643937f220936ea5321
Reviewed-on: https://go-review.googlesource.com/c/go/+/594057
Reviewed-by: David Chase <drchase@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Michael Knyszek <mknyszek@google.com>
src/go/build/deps_test.go
src/internal/concurrent/hashtriemap.go