]> Cypherpunks repositories - gostls13.git/commit
cmd/go: accept clang versions with vendor prefixes
authorBryan C. Mills <bcmills@google.com>
Wed, 6 Dec 2023 20:19:59 +0000 (15:19 -0500)
committerGopher Robot <gobot@golang.org>
Thu, 7 Dec 2023 19:13:29 +0000 (19:13 +0000)
commitc71eedf90aff3fc73a645b88d2e5166b8a0179fd
treef251f0a8c344c8111d488b05616d0080f855537f
parent77e76c4387d1ba69fc00e5e85e9e70f259675456
cmd/go: accept clang versions with vendor prefixes

To better diagnose bugs like this one in the future, I think
we should also refuse to use a C compiler if we can't identify
a sensible version for it. I did not do that in this CL because
I want it to be small and low-risk for possible backporting.

Fixes #64423.

Change-Id: I21e44fc55f6fcf76633e4fecf6400c226a742351
Cq-Include-Trybots: luci.golang.try:gotip-linux-amd64-longtest,gotip-windows-amd64-longtest
Reviewed-on: https://go-review.googlesource.com/c/go/+/547998
Auto-Submit: Bryan Mills <bcmills@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Matloob <matloob@golang.org>
src/cmd/go/internal/work/buildid.go
src/cmd/go/testdata/script/build_cc_cache_issue64423.txt [new file with mode: 0644]