]> Cypherpunks repositories - gostls13.git/commit
cmd/go: link to go.dev/doc/godebug for removed GODEBUG settings
authorMateusz Poliwczak <mpoliwczak34@gmail.com>
Mon, 8 Sep 2025 17:54:21 +0000 (19:54 +0200)
committerGopher Robot <gobot@golang.org>
Mon, 3 Nov 2025 21:12:15 +0000 (13:12 -0800)
commitaa94fdf0cc693b5846a936d5cd6f3bd358093245
treecc5f6ba750632c4282edb9ef75ebbed93c300901
parent4d2b03d2fc281a1883aceee3511f22d4865f8844
cmd/go: link to go.dev/doc/godebug for removed GODEBUG settings

This makes the user experience better, before users would receive
an unknown godebug error message, now we explicitly mention that
it was removed and link to go.dev/doc/godebug where users can find
more information about the removal.

Additionally we keep all the removed GODEBUGs in the source, making
sure we do not reuse such GODEBUG after it is removed.

Updates #72111
Updates #75316

Change-Id: I6a6a6964cce1c100108fdba4bfba7d13cd9a893a
Reviewed-on: https://go-review.googlesource.com/c/go/+/701875
Reviewed-by: Michael Pratt <mpratt@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Mateusz Poliwczak <mpoliwczak34@gmail.com>
Reviewed-by: Michael Matloob <matloob@golang.org>
Reviewed-by: Michael Matloob <matloob@google.com>
src/cmd/go/internal/modload/init.go
src/cmd/go/testdata/script/mod_removed_godebug.txt [new file with mode: 0644]
src/internal/godebugs/godebugs_test.go
src/internal/godebugs/table.go