From dcb2ec3b654eb42d8e6bb6e66801ddf2f7f21c7a Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Fri, 5 Dec 2014 16:24:20 -0500 Subject: 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 --- src/runtime/runtime.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/runtime/runtime.go') 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 -- cgit v1.3