github.com/zhangyunhao116/fastrand@v0.4.0/runtime_go119.go (about) 1 //go:build go1.19 && !go1.22 2 // +build go1.19,!go1.22 3 4 package fastrand 5 6 import ( 7 _ "unsafe" 8 ) 9 10 //go:linkname runtimefastrand runtime.fastrand 11 func runtimefastrand() uint32 12 13 //go:linkname runtimefastrand64 runtime.fastrand64 14 func runtimefastrand64() uint64 15 16 //go:linkname runtimefastrandu runtime.fastrandu 17 func runtimefastrandu() uint