diff --git a/runtime/internal/lib/go/build/build.go b/runtime/internal/lib/go/build/build.go index b79c5a69..a2f5f2ce 100644 --- a/runtime/internal/lib/go/build/build.go +++ b/runtime/internal/lib/go/build/build.go @@ -41,7 +41,26 @@ func parseGoVersion() int { var goVersion = parseGoVersion() +// defaultToolTags should be an internal detail, +// but widely used packages access it using linkname. +// Notable members of the hall of shame include: +// - github.com/gopherjs/gopherjs +// +// Do not remove or change the type signature. +// See go.dev/issue/67401. +// +//go:linkname defaultToolTags var defaultToolTags []string + +// defaultReleaseTags should be an internal detail, +// but widely used packages access it using linkname. +// Notable members of the hall of shame include: +// - github.com/gopherjs/gopherjs +// +// Do not remove or change the type signature. +// See go.dev/issue/67401. +// +//go:linkname defaultReleaseTags var defaultReleaseTags []string // defaultContext returns the default Context for builds.