diff options
author | Russ Cox <rsc@golang.org> | 2014-12-05 16:24:20 -0500 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2014-12-05 16:24:20 -0500 |
commit | dcb2ec3b654eb42d8e6bb6e66801ddf2f7f21c7a (patch) | |
tree | 6b69cb88565c5ab610efcf43210d59ec35191ae5 /src/runtime/runtime.go | |
parent | 7d516079de6a8333817b1c13a45701a02f80d209 (diff) | |
download | go-dcb2ec3b654eb42d8e6bb6e66801ddf2f7f21c7a.tar.gz go-dcb2ec3b654eb42d8e6bb6e66801ddf2f7f21c7a.zip |
runtime: generate windows callback list with go generate
This is the last system-dependent file written by cmd/dist.
They are all now written by go generate.
cmd/dist is not needed to start building package runtime
for a different system anymore.
Now all the generated files can be assumed generated, so
delete the clumsy hacks in cmd/api.
Re-enable api check in run.bash.
LGTM=bradfitz
R=bradfitz
CC=golang-codereviews
https://golang.org/cl/185040044
Diffstat (limited to 'src/runtime/runtime.go')
-rw-r--r-- | src/runtime/runtime.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/runtime/runtime.go b/src/runtime/runtime.go index 4e4e1d17a5..2e291c28be 100644 --- a/src/runtime/runtime.go +++ b/src/runtime/runtime.go @@ -4,6 +4,8 @@ package runtime +//go:generate go run wincallback.go + var ticks struct { lock mutex val uint64 |