]> Cypherpunks repositories - gostls13.git/commit
cmd/go: insert goroot to the hash of build cache when the packages include C files
authorBryan C. Mills <bcmills@google.com>
Fri, 1 Oct 2021 15:52:56 +0000 (11:52 -0400)
committerBryan C. Mills <bcmills@google.com>
Mon, 11 Oct 2021 19:20:12 +0000 (19:20 +0000)
commit65ffee6f9a949023f10e5b6b918a7a218d9836a1
tree0c828f900936e219532c86ca2d6d39b48a5cb40c
parent52078fa477a0a8a8440ca40d64850730e2cf27f8
cmd/go: insert goroot to the hash of build cache when the packages include C files

This reverts CL 351851, which itself reverted CL 348991.

The problem with the original CL, as far as I can tell, was due to a
bug in the Go project's builder infrastructure (#33598) and not the
change itself. Once the build infrastructure is fixed, this change
can be resubmitted.

Fixes #48319
Updates #33598

Change-Id: I0fdbcc241eb2bdeb350944aad58bf58774fb591e
Reviewed-on: https://go-review.googlesource.com/c/go/+/353352
Trust: Bryan C. Mills <bcmills@google.com>
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Jay Conrod <jayconrod@google.com>
src/cmd/go/internal/work/exec.go
src/cmd/go/testdata/script/build_issue48319.txt [new file with mode: 0644]