vendor: Bump golang.org/x/sys/unix to a newer version

The current vendor of sys/unix is really old, and doesn't work on arm64 and ppc64le
Updating to the latest version might also fix other issues

ref #209
This commit is contained in:
Lucas Käldström
2016-08-13 12:44:04 +03:00
parent 349d66d51c
commit 488db88fd1
148 changed files with 36872 additions and 2731 deletions

View File

@ -68,6 +68,8 @@ func (tv *Timeval) Nano() int64 {
return int64(tv.Sec)*1e9 + int64(tv.Usec)*1000
}
func TimevalToNsec(tv Timeval) int64 { return int64(tv.Sec)*1e9 + int64(tv.Usec)*1e3 }
// 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