]> Cypherpunks.ru repositories - gostls13.git/commit
cmd/go: use overlaid path contents in build cache
authorMichael Matloob <matloob@golang.org>
Fri, 30 Oct 2020 20:47:58 +0000 (16:47 -0400)
committerMichael Matloob <matloob@golang.org>
Thu, 12 Nov 2020 22:50:40 +0000 (22:50 +0000)
commit30ba7980932dfb7ec6660ee929b4e1982256285f
tree86be9edb2fb3a0d2a33358a359474ea6c78ab04a
parentf016172dbee4de8d820e3d3ec9d66a18308694c9
cmd/go: use overlaid path contents in build cache

When caching actions, use the overlaid file contents, because those
are the ones actually used to produce the outputs.

For #39958

Change-Id: Ia1f85b2fcf1f26e3b5be82f4d35c2726b134a36b
Reviewed-on: https://go-review.googlesource.com/c/go/+/266720
Trust: Michael Matloob <matloob@golang.org>
Run-TryBot: Michael Matloob <matloob@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
Reviewed-by: Jay Conrod <jayconrod@google.com>
src/cmd/go/internal/work/buildid.go
src/cmd/go/testdata/script/build_overlay.txt