Skip to content

Commit c7c4420

Browse files
seankhliaomatloob
authored andcommitted
cmd/go: clarify GODEBUG in go help environment
Fixes #37004 Fixes #50444 Change-Id: I7dd5a8c9bd0a2122ff38508cf509369d6d8ad599 Reviewed-on: https://go-review.googlesource.com/c/go/+/632177 Reviewed-by: Dmitri Shuralyov <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Michael Matloob <[email protected]>
1 parent c6ab13f commit c7c4420

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

src/cmd/go/alldocs.go

Lines changed: 3 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/cmd/go/internal/help/helpdoc.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -511,8 +511,9 @@ General-purpose environment variables:
511511
external go command build cache.
512512
See 'go doc cmd/go/internal/cacheprog'.
513513
GODEBUG
514-
Enable various debugging facilities. See https://go.dev/doc/godebug
515-
for details.
514+
Enable various debugging facilities for programs built with Go,
515+
including the go command. Cannot be set using 'go env -w'.
516+
See https://go.dev/doc/godebug for details.
516517
GOENV
517518
The location of the Go environment configuration file.
518519
Cannot be set using 'go env -w'.

0 commit comments

Comments
 (0)