Closed as not planned
Closed as not planned
Description
I've noticed the current cfg.KnownEnv
list does not include the GOROOT_FINAL
environment variable.
We know from #39385 that GOROOT_FINAL
has some (albeit indirect) effect on the behavior of the Go command (fortunately, GOROOT_FINAL_OLD
no longer does).
Should GOROOT_FINAL
be included in cfg.KnownEnv
, or is it intentional that it's not listed?
The documentation for KnownEnv
is somewhat brief:
// KnownEnv is a list of environment variables that affect the operation
// of the Go command.
It'd be nice to clarify if it's meant to be an exhaustive list or not, and whether some env vars should be intentionally left out or not.