commit | ef33b2fb2c414dca4bfcf6ca59cbd1d9ad00703d | [log] [tgz] |
---|---|---|
author | Jason A. Donenfeld <Jason@zx2c4.com> | Mon Oct 07 00:04:36 2019 +0200 |
committer | Jason A. Donenfeld <Jason@zx2c4.com> | Mon Oct 07 15:44:56 2019 +0000 |
tree | b39c25aa37cbd5177b698eedb21cace73ee873f7 | |
parent | 5f54ce54270977bfbd7353a37e64c13d6bd6c9c9 [diff] |
windows: use go:linkname instead of assembly This is a bit cleaner and makes it more explicit what's happening, along with a documenting comment. Change-Id: I30c92f8576c72b05ebdb4634c68023237bde3cbf Reviewed-on: https://go-review.googlesource.com/c/sys/+/199519 Run-TryBot: Jason A. Donenfeld <Jason@zx2c4.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
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.