From: Sean Liao Date: Fri, 12 Jul 2024 19:56:19 +0000 (+0100) Subject: [release-branch.go1.24] runtime/debug: document DefaultGODEBUG as a BuildSetting X-Git-Tag: go1.24.4~7 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=664cf832ec9baa7a565e8d1397b68b4b8478a7a9;p=gostls13.git [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 --- 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