From 4eb0af2c34bf5ae5d7e04cc47cd8f7b6269ef079 Mon Sep 17 00:00:00 2001 From: Sean Liao Date: Sun, 14 Dec 2025 08:34:28 +0000 Subject: internal/fetch: add runtimesecret and simd goexperiments For golang/go#21865 For golang/go#71488 For golang/go#73787 Change-Id: Iedb7c007de2ab3840c98b604720f81196a6a6964 Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/729900 Reviewed-by: Ethan Lee Reviewed-by: David Chase LUCI-TryBot-Result: Go LUCI kokoro-CI: kokoro --- internal/fetch/load.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/internal/fetch/load.go b/internal/fetch/load.go index 7d9cdde9..82667f9e 100644 --- a/internal/fetch/load.go +++ b/internal/fetch/load.go @@ -439,6 +439,10 @@ func matchingFiles(goos, goarch string, importPath string, allFiles map[string][ switch importPath { case "encoding/json/v2", "encoding/json/jsontext": bctx.BuildTags = append(bctx.BuildTags, "goexperiment.jsonv2") + case "runtime/secret": + bctx.BuildTags = append(bctx.BuildTags, "goexperiment.runtimesecret") + case "simd", "simd/archsimd": + bctx.BuildTags = append(bctx.BuildTags, "goexperiment.simd") } // Copy the input map so we don't modify it. -- cgit v1.3