Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
cmd/go: several commands require the build cache but don't use it #39882
Steps to repro:
I think this should succeed.
I encountered this while writing some tests, which are run in a temporary directory with a near-empty environment (partly to not pollute the user's $HOME and such).
CL 236563 fixes a different issue.
I just mailed CL 240548, which should fix this for module commands that don't use the build cache.
There are a number of other commands that probably should work but don't, like