Skip to content

Commit 03f8d46

Browse files
committed
fixup! chore: sync with go1.24.1
1 parent 90ff84f commit 03f8d46

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

internal/go/cache/hash.go

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ import (
1111
"hash"
1212
"io"
1313
"os"
14-
"runtime"
1514
"strings"
1615
"sync"
1716
)
@@ -37,13 +36,7 @@ type Hash struct {
3736
// of other versions. This salt will result in additional ActionID files
3837
// in the cache, but not additional copies of the large output files,
3938
// which are still addressed by unsalted SHA256.
40-
//
41-
// We strip any GOEXPERIMENTs the go tool was built with from this
42-
// version string on the assumption that they shouldn't affect go tool
43-
// execution. This allows bootstrapping to converge faster: dist builds
44-
// go_bootstrap without any experiments, so by stripping experiments
45-
// go_bootstrap and the final go binary will use the same salt.
46-
var hashSalt = []byte(stripExperiment(runtime.Version()))
39+
var hashSalt []byte
4740

4841
// stripExperiment strips any GOEXPERIMENT configuration from the Go
4942
// version string.

0 commit comments

Comments
 (0)