go/build: “Build constraints” section of package comment should mention //go:build syntax #46124
Labels
Documentation
FrozenDueToAge
NeedsFix
The path to resolution is known, but the work has not been done.
release-blocker
Milestone
https://tip.golang.org/pkg/go/build/#hdr-Build_Constraints currently says:
Now that the
//go:build
syntax is recognized by the toolchain (#41184), we should be sure to update that documentation before the 1.17 release. It is currently the top Google search hit for [golang build constraint].The text was updated successfully, but these errors were encountered: