Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
cmd/go: cache conflict with compiler experiment flags #33091
This is a re-issue of #26883, which was fixed and then broken again.
There seems to be cache conflict where the compiler experiment is not part of the hash.
Steps to reproduce:
The last command fails with:
It looks like the most recent change here was CL 149338. The go command invokes the compiler with
For a released version, the Go command only includes the version in the tool ID. It should include the version and everything after.
For a development version, it will include the content ID (stamped SHA-256) of the binary, so that shouldn't be a problem.