Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
cmd/go: go:generate causes unnecessary packages in std & binary releases #31920
I notice that on non-Windows platforms, the Windows-only
That's all because of the packages having a single go file that's not behind
No code. Just a "go generate" line.
If we made that file
Perhaps we could make it
To clarify, did you mean it's not possible to
If the person has to think about or research which flags to
Wait, from the design doc,
So that was the plan!
But it wasn't implemented it seems:
I'm not sure this is true in general; some generators rely on build tags because they rely on type information. Hence they rely on the values of
We're wrestling with this problem in golang-tools world; not only for
In the case of