mirror of https://github.com/golang/go.git
We failed to initialize the ProcessEnv when adding stdlib imports. Somehow this went unnnoticed for a month or something. Initialize on demand there too, and add a stronger check so there's a better error message. Fixes golang/go#40670. Change-Id: I391c115f417390be4a0e18f92fbfbcbfbdcc052c Reviewed-on: https://go-review.googlesource.com/c/tools/+/247797 Run-TryBot: Heschi Kreinick <heschi@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Rebecca Stambler <rstambler@golang.org> |
||
|---|---|---|
| .. | ||
| testdata/mod | ||
| fix.go | ||
| fix_test.go | ||
| imports.go | ||
| imports_test.go | ||
| mkindex.go | ||
| mkstdlib.go | ||
| mod.go | ||
| mod_cache.go | ||
| mod_cache_test.go | ||
| mod_test.go | ||
| sortimports.go | ||
| zstdlib.go | ||