Change-Id: I5e4347dde6dcb49cd96608e4f67e54c7b3050bc2
Reviewed-on: https://go-review.googlesource.com/c/go/+/293851
Trust: Cherry Zhang <cherryyz@google.com>
Run-TryBot: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
}
return !matchtag(tag[1:])
}
+ if os.Getenv("GOEXPERIMENT") == "regabi" && tag == "goexperiment.regabi" {
+ // TODO: maybe we can handle GOEXPERIMENT more generally.
+ // Or remove once we commit to regabi (#40724).
+ return true
+ }
return tag == "gc" || tag == goos || tag == goarch || tag == "cmd_go_bootstrap" || tag == "go1.1" ||
(goos == "android" && tag == "linux") ||
(goos == "illumos" && tag == "solaris") ||