From 6624b708660460600041bf7391e4f03b13b6edef Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Wed, 11 Sep 2013 14:35:08 -0400 Subject: [PATCH] undo CL 13632053 / dc7bfe0f022d MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit It was never going to last. ««« original CL description 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 »»» TBR=golang-dev CC=golang-dev https://golang.org/cl/13474045 --- src/cmd/api/goapi.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/cmd/api/goapi.go b/src/cmd/api/goapi.go index 320474368f..7102e9d409 100644 --- a/src/cmd/api/goapi.go +++ b/src/cmd/api/goapi.go @@ -110,8 +110,6 @@ 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) -- 2.50.0