Closed
Description
@bcmills requested issue #64282 to be considered for backport to the next 1.21 minor release.
@gopherbot, please backport to Go 1.21. This was a regression in Go 1.21 and has no clear workaround.
Metadata
Metadata
Assignees
Type
Projects
Relationships
Development
No branches or pull requests
Activity
bcmills commentedon Dec 1, 2023
The fix for this seems straightforward and poses almost no risk to code outside of
go install pkg@version
andgo run pkg@version
. Approving for backport.gopherbot commentedon Dec 14, 2023
Change https://go.dev/cl/550055 mentions this issue:
[release-branch.go1.21] cmd/go/internal/toolchain: make a best effort to parse 'go run' and 'go install' flags
thanm commentedon Dec 19, 2023
Note: the fix for this issue on master was reverted in CL 551215, so we'll need to decide what to do with this issue.
gopherbot commentedon Jan 29, 2024
Change https://go.dev/cl/559198 mentions this issue:
[release-branch.go1.21] cmd/go/internal/toolchain: apply the -modcacherw flag when downloading a module to determine what toolchain it needs
gopherbot commentedon Jan 31, 2024
Closed by merging 6552f3d to release-branch.go1.21.
[release-branch.go1.21] cmd/go/internal/toolchain: apply the -modcach…