]> Cypherpunks repositories - gostls13.git/commit
cmd/go: include C/C++/Fortran compiler version in build ID
authorIan Lance Taylor <iant@golang.org>
Wed, 28 Apr 2021 00:32:02 +0000 (17:32 -0700)
committerIan Lance Taylor <iant@golang.org>
Wed, 28 Apr 2021 15:57:49 +0000 (15:57 +0000)
commit92c9f3a9b80eda50a55f8860587c2ed7734f4a29
treee60058a9534239abd0b02a5f1237995aa2a6d207
parentbecb9a278fdeccfb562dd1232f052050f00a4aaa
cmd/go: include C/C++/Fortran compiler version in build ID

This will force a rebuild if the C/C++/Fortran compiler changes.

No test because a real test requires installing two different compilers.

Fixes #40042

Change-Id: I83cc88ade90d665a6fce06435068f39c811e43af
Reviewed-on: https://go-review.googlesource.com/c/go/+/314276
Trust: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
src/cmd/go/internal/work/buildid.go
src/cmd/go/internal/work/exec.go