]> Cypherpunks repositories - gostls13.git/commitdiff
internal/buildcfg: enable randomizedHeapBase64 by default
authorRoland Shoemaker <roland@golang.org>
Thu, 24 Jul 2025 18:29:46 +0000 (11:29 -0700)
committerRoland Shoemaker <roland@golang.org>
Tue, 16 Sep 2025 20:50:17 +0000 (13:50 -0700)
Change-Id: If2493546cd9c4e5bb6736fe3c029e60957716f6a
Reviewed-on: https://go-review.googlesource.com/c/go/+/690296
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
src/internal/buildcfg/exp.go

index be9d1f71258cafb356646436c2007ebdbf159205..707776b374b0d4fe142992834e431ab61bc7937f 100644 (file)
@@ -79,9 +79,10 @@ func ParseGOEXPERIMENT(goos, goarch, goexp string) (*ExperimentFlags, error) {
        dwarf5Supported := (goos != "darwin" && goos != "ios" && goos != "aix")
 
        baseline := goexperiment.Flags{
-               RegabiWrappers: regabiSupported,
-               RegabiArgs:     regabiSupported,
-               Dwarf5:         dwarf5Supported,
+               RegabiWrappers:       regabiSupported,
+               RegabiArgs:           regabiSupported,
+               Dwarf5:               dwarf5Supported,
+               RandomizedHeapBase64: true,
        }
 
        // Start with the statically enabled set of experiments.