mirror of
https://github.com/golang/sys.git
synced 2026-01-29 15:12:09 +03:00
unix: mark the linknamed vgetrandom as noescape
Also see discussion in CL 616735
This commit is contained in:
@@ -9,4 +9,5 @@ package unix
|
||||
import _ "unsafe"
|
||||
|
||||
//go:linkname vgetrandom runtime.vgetrandom
|
||||
//go:noescape
|
||||
func vgetrandom(p []byte, flags uint32) (ret int, supported bool)
|
||||
|
||||
Reference in New Issue
Block a user