]> Cypherpunks repositories - gostls13.git/commitdiff
internal/goexperiment: delete CacheProg goexperiment
authorCherry Mui <cherryyz@google.com>
Mon, 30 Jun 2025 21:18:43 +0000 (17:18 -0400)
committerCherry Mui <cherryyz@google.com>
Tue, 29 Jul 2025 19:44:51 +0000 (12:44 -0700)
It is now always enabeld. The GOEXPERIMENT doesn't control
anything. Remove.

Change-Id: I24ecf0cd7be5d5dd20f4c558871a3ea97792055e
Reviewed-on: https://go-review.googlesource.com/c/go/+/684837
Reviewed-by: qiu laidongfeng <2645477756@qq.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>

src/internal/goexperiment/exp_cacheprog_off.go [deleted file]
src/internal/goexperiment/exp_cacheprog_on.go [deleted file]
src/internal/goexperiment/flags.go

diff --git a/src/internal/goexperiment/exp_cacheprog_off.go b/src/internal/goexperiment/exp_cacheprog_off.go
deleted file mode 100644 (file)
index 276855c..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-// Code generated by mkconsts.go. DO NOT EDIT.
-
-//go:build !goexperiment.cacheprog
-
-package goexperiment
-
-const CacheProg = false
-const CacheProgInt = 0
diff --git a/src/internal/goexperiment/exp_cacheprog_on.go b/src/internal/goexperiment/exp_cacheprog_on.go
deleted file mode 100644 (file)
index b959dd6..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-// Code generated by mkconsts.go. DO NOT EDIT.
-
-//go:build goexperiment.cacheprog
-
-package goexperiment
-
-const CacheProg = true
-const CacheProgInt = 1
index dd03f971e7aa97f984de942fa5b039f5c0c424f1..8faf3cd72c3447c42d295cd5bac4c265d9c1eae8 100644 (file)
@@ -96,10 +96,6 @@ type Flags struct {
        // copy of the iteration variable.
        LoopVar bool
 
-       // CacheProg adds support to cmd/go to use a child process to implement
-       // the build cache; see https://github.com/golang/go/issues/59719.
-       CacheProg bool
-
        // NewInliner enables a new+improved version of the function
        // inlining phase within the Go compiler.
        NewInliner bool