// use is a no-op, but the compiler cannot see that it is.
// Calling use(p) ensures that p is kept live until that point.
// This was needed until Go 1.6 to call syscall.Syscall correctly.
// As of Go 1.6 the compiler handles that case automatically.
// The uses and definition of use can be removed early in the Go 1.7 cycle.
func use(p unsafe.Pointer)
Either this comment should be updated or use should be removed in 1.7 from syscall.go and src/syscall/mksyscall.pl.
Happy to do this work if it's wanted.
The text was updated successfully, but these errors were encountered: