From 664cf832ec9baa7a565e8d1397b68b4b8478a7a9 Mon Sep 17 00:00:00 2001 From: Sean Liao Date: Fri, 12 Jul 2024 20:56:19 +0100 Subject: [PATCH] [release-branch.go1.24] runtime/debug: document DefaultGODEBUG as a BuildSetting For #66465 Fixes #73678 Change-Id: I60c017ddba29fa5b452b665d8521cd6c8e20438c Reviewed-on: https://go-review.googlesource.com/c/go/+/597979 LUCI-TryBot-Result: Go LUCI Reviewed-by: Jorropo Auto-Submit: Ian Lance Taylor Reviewed-by: qiu laidongfeng2 <2645477756@qq.com> Reviewed-by: Ian Lance Taylor Reviewed-by: Dmitri Shuralyov (cherry picked from commit c4136a433c28eb12abad777f8e74087ecf6e21f4) Reviewed-on: https://go-review.googlesource.com/c/go/+/671995 Reviewed-by: Sean Liao Reviewed-by: Michael Knyszek --- src/runtime/debug/mod.go | 1 + 1 file changed, 1 insertion(+) diff --git a/src/runtime/debug/mod.go b/src/runtime/debug/mod.go index 53bbf1d847..3eab08744f 100644 --- a/src/runtime/debug/mod.go +++ b/src/runtime/debug/mod.go @@ -77,6 +77,7 @@ type Module struct { // - CGO_CPPFLAGS: the effective CGO_CPPFLAGS environment variable // - CGO_CXXFLAGS: the effective CGO_CXXFLAGS environment variable // - CGO_LDFLAGS: the effective CGO_LDFLAGS environment variable +// - DefaultGODEBUG: the effective GODEBUG settings // - GOARCH: the architecture target // - GOAMD64/GOARM/GO386/etc: the architecture feature level for GOARCH // - GOOS: the operating system target -- 2.50.0