mirror of
https://github.com/golang/go
synced 2024-10-01 03:18:33 -06:00
runtime: fix nacl build
Change-Id: Ifa8b2d1d1cebe72f795db34974584a888d55cbd8 Reviewed-on: https://go-review.googlesource.com/1362 Reviewed-by: Keith Randall <khr@golang.org>
This commit is contained in:
parent
33da2430f1
commit
1757b5cc74
@ -47,9 +47,9 @@ func crash() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
//go:nosplit
|
//go:nosplit
|
||||||
func get_random_data(rnd *unsafe.Pointer, rnd_len *int32) {
|
func getRandomData(r []byte) {
|
||||||
*rnd = nil
|
// TODO: does nacl have a random source we can use?
|
||||||
*rnd_len = 0
|
extendRandom(r, 0)
|
||||||
}
|
}
|
||||||
|
|
||||||
func goenvs() {
|
func goenvs() {
|
||||||
|
Loading…
Reference in New Issue
Block a user