mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-05 11:37:46 +00:00
all: clean up code with Go 1.24+ in mind (#5489)
* all: clean up code with Go 1.24+ in mind * all: more old go cleanup * all: even remove rand_fastrand64 * runtime: revert rand changes * runtime: re-drop rand_fastrand64
This commit is contained in:
@@ -7,14 +7,6 @@ import (
|
||||
"unsafe"
|
||||
)
|
||||
|
||||
// This function is needed by math/rand since Go 1.20.
|
||||
// See: https://github.com/golang/go/issues/54880
|
||||
//
|
||||
//go:linkname rand_fastrand64 math/rand.fastrand64
|
||||
func rand_fastrand64() uint64 {
|
||||
return fastrand64()
|
||||
}
|
||||
|
||||
// This function is used by hash/maphash.
|
||||
// This function isn't required anymore since Go 1.22, so should be removed once
|
||||
// that becomes the minimum requirement.
|
||||
|
||||
Reference in New Issue
Block a user