From 4ca7c01706ad6da07aed882528e595a39edd085b Mon Sep 17 00:00:00 2001 From: Sean Liao Date: Fri, 12 Jul 2024 20:56:19 +0100 Subject: [PATCH] [release-branch.go1.23] runtime/debug: document DefaultGODEBUG as a BuildSetting For #66465 Fixes #73677 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/+/671936 Reviewed-by: Sean Liao TryBot-Bypass: Dmitri Shuralyov Reviewed-by: Michael Knyszek TryBot-Bypass: 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 a4705605b8..764fe6a431 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