mirror of
https://github.com/golang/go.git
synced 2025-05-05 23:53:05 +00:00
Our original caching plan was to use only the file ParseGoHandles as cache keys to define a given package. However, because of package test variants, we cannot rely on files alone. A package may have the exact same set of files, but be a test variant. Add the ID to the key to avoid clobbering entries in the cache. Also, remove the unused metadata ID cache. Change-Id: I4b33de1f83f6c769d23441e98a2a7324ff0fa1b0 Reviewed-on: https://go-review.googlesource.com/c/tools/+/194571 Run-TryBot: Rebecca Stambler <rstambler@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Cottrell <iancottrell@google.com>