]> Cypherpunks repositories - gostls13.git/commit
cmd/dist: restore the original GOCACHE before building std and cmd
authorBryan C. Mills <bcmills@google.com>
Tue, 22 Nov 2022 02:30:02 +0000 (21:30 -0500)
committerGopher Robot <gobot@golang.org>
Thu, 26 Jan 2023 23:32:05 +0000 (23:32 +0000)
commitc611ef28606ddd7450cf03e070e51ac6082fdad7
tree937569fed66dfd6d39054b248ef9823054662453
parent8e0781e5ff0320d8a0cb04dded9aa0ff8f3849cd
cmd/dist: restore the original GOCACHE before building std and cmd

The user is likely to run other commands that need these libraries
immediately after they are built.

For #57734.
Updates #56889.

Change-Id: I2a1a234e6031d85f017ee692ea1ace8c6e0e7355
Reviewed-on: https://go-review.googlesource.com/c/go/+/452679
Run-TryBot: Bryan Mills <bcmills@google.com>
Auto-Submit: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
src/cmd/dist/build.go
src/cmd/dist/test.go