/ go Public
cmd/go: several commands require the build cache but don't use it #39882
The path to resolution is known, but the work has not been done.
Steps to repro:
I think this should succeed.
go mod edit -go=Xonly has to modify a line in
go.mod, it shouldn't require the build cache to exist or be writeable. However, that last command fails:
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).
The text was updated successfully, but these errors were encountered: