We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5940021 commit abbb60eCopy full SHA for abbb60e
src/cmd/go/internal/cache/default.go
@@ -59,7 +59,9 @@ func initDefaultCache() {
59
base.Fatalf("failed to initialize build cache at %s: %s\n", dir, err)
60
}
61
62
- if v := cfg.Getenv("GOCACHEPROG"); v != "" && goexperiment.CacheProg {
+ // We don't require the GOEXPERIMENT in Tailscale's Go tree.
63
+ const isTailscaleGoTree = true
64
+ if v := cfg.Getenv("GOCACHEPROG"); v != "" && (isTailscaleGoTree || goexperiment.CacheProg) {
65
defaultCache = startCacheProg(v, diskCache)
66
} else {
67
defaultCache = diskCache
0 commit comments