1
0
mirror of https://github.com/golang/go synced 2024-11-23 05:20:11 -07:00
go/misc/cgo/testshared
Russ Cox 9e0e6981fc cmd/go: fix go list .Stale computation
If X depends on Y and X was installed but Y is only present in the cache
(as happens when you "go install X") then we should report X as up-to-date,
not as stale.

This applies whether X is a package or a main binary.

Fixes #24558.
Fixes #23818.

Change-Id: I26a0b375b1f7f7ac909cc0db68e92f4e04529208
Reviewed-on: https://go-review.googlesource.com/107957
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
2018-04-25 20:19:19 +00:00
..
src all: change github.com issue links to golang.org 2017-11-04 04:13:41 +00:00
shared_test.go cmd/go: fix go list .Stale computation 2018-04-25 20:19:19 +00:00