doc: mention language downgrading via //go:build
#61894
Labels
compiler/runtime
Issues related to the Go compiler and/or runtime.
Documentation
GoCommand
cmd/go
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
Reading https://go.dev/doc/toolchain, only upgrading the language version on a per-file basis is shown, not downgrading.
It does say that
but that's a bit implicit, considering this is a major change from how module versions and build constraints used to interact.
https://pkg.go.dev/cmd/go#hdr-Build_constraints doesn't mention the semantics of version build constraints, either.
The text was updated successfully, but these errors were encountered: