News for hackers. Stuff that matters.
Re:Backward Compatibility, Go 1.21, and Go 2 by vocx2tx on Monday August 14, 2023 @01:55PM (#37124224)
> The setting is opt-out, requiring manual intervention.

No. If a module's go.mod files declares go1.21, the compiler will use go1.21 semantics when building it, even if 1.22 has already been published and the module is being used from a 1.22-enabled program. This is explicitly mentioned in the blog post.

There are no comments on this comment yet.