You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
cmd/compile: set the proper export version number before Go 1.18 #47654
When we get closer to the beta for 1.18, we need to set the export version number to its new value,
iexportVersionGo1_18 = 2.
We are temporarily setting the export version back to 1 (iexportVersionGoPosCol, also iexportVersionGoGenerics, since generic functions/types are backward compatible) for ease of internal testing, especially given a lot of x/tools and third-party tools that will break on the new export version.
@findleyr Is there anything more on your side about the export version that you need to do? If so, I can assign this bug to you as a reminder. Otherwise, I think we can just close this issue, right?
When we get closer to the beta for 1.18, we need to set the export version number to its new value,
iexportVersionGenerics = 3.
We are temporarily setting the export version back to 2 (in dev.typeparams, soon to be merged to master) for ease of internal testing, especially given a lot of x/tools and third-party tools that will break on the new export version.
We set it back to 1, and the new value will be 2. @danscales maybe amend?
OK, updated the top comment. And removed release-blocker.
As an update, we have already change the export version in the compiler and x/tools, but there are some cleanup items that @findleyr still needs to do. However, no longer a release blocker for beta1.
Activity
danscales commentedon Aug 11, 2021
https://go-review.googlesource.com/c/go/+/341211 is the change the needs to be mostly reverted to fix this issue.
[dev.typeparams] cmd/compile: change export version to 1.17 for testing
gopherbot commentedon Aug 11, 2021
Change https://golang.org/cl/341211 mentions this issue:
[dev.typeparams] cmd/compile: change export version to 1.17 for testinggopherbot commentedon Oct 19, 2021
Change https://golang.org/cl/357049 mentions this issue:
cmd/compile: update the export version for genericscmd/compile: update the export version for generics
danscales commentedon Nov 9, 2021
@findleyr Is there anything more on your side about the export version that you need to do? If so, I can assign this bug to you as a reminder. Otherwise, I think we can just close this issue, right?
findleyr commentedon Nov 9, 2021
Yes, I think I still need to clean up once this has had enough time to propagate. Reassigning to myself, but also removing the release-blocker label.
findleyr commentedon Nov 9, 2021
The top comment here looks wrong:
We set it back to 1, and the new value will be 2. @danscales maybe amend?
danscales commentedon Nov 9, 2021
OK, updated the top comment. And removed release-blocker.
As an update, we have already change the export version in the compiler and x/tools, but there are some cleanup items that @findleyr still needs to do. However, no longer a release blocker for beta1.
danscales commentedon Jan 10, 2022
@findleyr Can we close this now? I confirmed with @heschi that are internal testing has proceed along and went fine.
findleyr commentedon Jan 10, 2022
@danscales actually no, I just checked and there is still cleanup that needs to take place. Sending a CL now.
gopherbot commentedon Jan 10, 2022
Change https://golang.org/cl/377554 mentions this issue:
go/internal/gcimporter: set iexportVersionGenerics to 2