commit | aba9fc2a8ff2c9439446386f616b860442f0cf9a | [log] [tgz] |
---|---|---|
author | Tobias Klauser <tklauser@distanz.ch> | Tue Sep 06 10:59:06 2022 +0200 |
committer | Benny Siegert <bsiegert@gmail.com> | Fri Sep 09 16:24:55 2022 +0000 |
tree | 1888aa8134e7a567ca96bdec056a2c07379592d7 | |
parent | 27713097b9563e84e4e03a2ed9652ef9fe62263a [diff] |
unix: use unsafe.Slice instead of unsafeheader package Go 1.18 is the minimum supported Go version and unsafe.Slice was introduced in Go 1.17. Change-Id: Ie5f1fad01f219e7b7a190de2c49676f366ad3bc7 Reviewed-on: https://go-review.googlesource.com/c/sys/+/428515 TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Benny Siegert <bsiegert@gmail.com> Reviewed-by: Ian Lance Taylor <iant@google.com> Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
This repository holds supplemental Go packages for low-level interactions with the operating system.
The easiest way to install is to run go get -u golang.org/x/sys
. You can also manually git clone the repository to $GOPATH/src/golang.org/x/sys
.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html.
The main issue tracker for the sys repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/sys:” in the subject line, so it is easy to find.