3 ms·
> 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 i
by vocx2tx 3y ago
> 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.