Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmd/go: cache should be bypassed by -a #22586

Closed
rsc opened this issue Nov 5, 2017 · 1 comment
Closed

cmd/go: cache should be bypassed by -a #22586

rsc opened this issue Nov 5, 2017 · 1 comment
Milestone

Comments

@rsc
Copy link
Contributor

rsc commented Nov 5, 2017

This code in work/buildid.go needs a check of cfg.BuildA.

// Check the build artifact cache.
// We treat hits in this cache as being "stale" for the purposes of go list
// (in effect, "stale" means whether p.Target is up-to-date),
// but we're still happy to use results from the build artifact cache.
if c := cache.Default(); c != nil {
	outputID, size, err := c.Get(actionHash)
@rsc rsc added this to the Go1.10 milestone Nov 5, 2017
@gopherbot
Copy link

Change https://golang.org/cl/76016 mentions this issue: cmd/go: do not use cache when -a is specified

@golang golang locked and limited conversation to collaborators Nov 6, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants