aboutsummaryrefslogtreecommitdiff
path: root/vendor/golang.org/x/sys/plan9/syscall.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/golang.org/x/sys/plan9/syscall.go')
-rw-r--r--vendor/golang.org/x/sys/plan9/syscall.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/vendor/golang.org/x/sys/plan9/syscall.go b/vendor/golang.org/x/sys/plan9/syscall.go
index e7363a2..a25223b 100644
--- a/vendor/golang.org/x/sys/plan9/syscall.go
+++ b/vendor/golang.org/x/sys/plan9/syscall.go
@@ -2,6 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
+//go:build plan9
// +build plan9
// Package plan9 contains an interface to the low-level operating system
@@ -112,5 +113,6 @@ func (tv *Timeval) Nano() int64 {
// 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.
+//
//go:noescape
func use(p unsafe.Pointer)