diff options
| author | Russ Cox <rsc@golang.org> | 2013-09-11 14:34:11 -0400 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2013-09-11 14:34:11 -0400 |
| commit | 89a6a8fdb3d63c828e9ee710a9beedc2a7bbe48c (patch) | |
| tree | f0d55bf278409124e1ef34c7f3e2b32441ffdd04 /src/cmd | |
| parent | ce9ddd0eeec50d88950f0a51c44a071b3a92d7e9 (diff) | |
| download | go-89a6a8fdb3d63c828e9ee710a9beedc2a7bbe48c.tar.xz | |
cmd/api: break the builds
There is some question about whether the api tool is
running on Windows (see issue 6124), and now I'm
starting to question whether it runs on any of the builders,
since both darwin/amd64 and linux/amd64 are crashing for me
in the api tool due to a recent cgo-related change, and yet
the dashboard is happy.
If the dashboard is still happy after this CL, we have a problem.
Update #6124
TBR=golang-dev
CC=golang-dev
https://golang.org/cl/13632053
Diffstat (limited to 'src/cmd')
| -rw-r--r-- | src/cmd/api/goapi.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cmd/api/goapi.go b/src/cmd/api/goapi.go index 7102e9d409..320474368f 100644 --- a/src/cmd/api/goapi.go +++ b/src/cmd/api/goapi.go @@ -110,6 +110,8 @@ func setContexts() { func main() { flag.Parse() + panic("yes, the api checks are really running") + if !strings.Contains(runtime.Version(), "weekly") && !strings.Contains(runtime.Version(), "devel") { if *nextFile != "" { fmt.Printf("Go version is %q, ignoring -next %s\n", runtime.Version(), *nextFile) |
