From: Cherry Mui Date: Mon, 30 Jun 2025 21:18:43 +0000 (-0400) Subject: internal/goexperiment: delete CacheProg goexperiment X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=7961bf71f8d3119ac7a886b3658966973798f426;p=gostls13.git internal/goexperiment: delete CacheProg goexperiment 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 LUCI-TryBot-Result: Go LUCI --- diff --git a/src/internal/goexperiment/exp_cacheprog_off.go b/src/internal/goexperiment/exp_cacheprog_off.go deleted file mode 100644 index 276855c7d6..0000000000 --- a/src/internal/goexperiment/exp_cacheprog_off.go +++ /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 index b959dd68b9..0000000000 --- a/src/internal/goexperiment/exp_cacheprog_on.go +++ /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 diff --git a/src/internal/goexperiment/flags.go b/src/internal/goexperiment/flags.go index dd03f971e7..8faf3cd72c 100644 --- a/src/internal/goexperiment/flags.go +++ b/src/internal/goexperiment/flags.go @@ -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