aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/cmd/api/run.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cmd/api/run.go b/src/cmd/api/run.go
index ed5613edd2..202106b805 100644
--- a/src/cmd/api/run.go
+++ b/src/cmd/api/run.go
@@ -33,6 +33,10 @@ const goToolsVersion = "6698ca2900e2"
var goroot string
func main() {
+ // Go 1.4 will never have new API, and the code below has bit-rotted.
+ fmt.Println("Skipping cmd/api checks")
+ return
+
log.SetFlags(0)
goroot = os.Getenv("GOROOT") // should be set by run.{bash,bat}
if goroot == "" {