cmd/go: clarify the impact of the -tags flag on test/build caching #29782
Labels
Documentation
Issues describing a change to documentation.
GoCommand
cmd/go
help wanted
NeedsFix
The path to resolution is known, but the work has not been done.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes.
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Read the documentation for build/test caching from
go help test
. ThenFrom this it's clear that
-tags
is not counted in test flags (and this is reasonably given the wording).What did you expect to see?
No caching.
What did you see instead?
Happily, caching.
While the wording is consistent with the apparent intended meaning, it could be made clearer that build flags do not impact on caching for tests (if this is true - I could find no mention of caching in
go help build
orgo help install
or mention of which flags prevent caching (other than-a
ingo help cache
)).The text was updated successfully, but these errors were encountered: