Commit 1757b5cc authored by Keith Randall's avatar Keith Randall

runtime: fix nacl build

Change-Id: Ifa8b2d1d1cebe72f795db34974584a888d55cbd8
Reviewed-on: https://go-review.googlesource.com/1362Reviewed-by: 's avatarKeith Randall <khr@golang.org>
parent 33da2430
......@@ -47,9 +47,9 @@ func crash() {
}
//go:nosplit
func get_random_data(rnd *unsafe.Pointer, rnd_len *int32) {
*rnd = nil
*rnd_len = 0
func getRandomData(r []byte) {
// TODO: does nacl have a random source we can use?
extendRandom(r, 0)
}
func goenvs() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment