cmd/go: improving documentation for when hashes are not included in binaries #50403
Labels
Documentation
Issues describing a change to documentation.
FrozenDueToAge
GoCommand
cmd/go
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
I used debug/buildinfo, which will be added in Go 1.18. As far as I can see, the hash is not included if you build it as
command-line-arguments
as follows.https://tip.golang.org/doc/go1.18
Do I need to add to the above documentation that hashes are not included if built as
command-line-arguments
?Example
When built as
command-line-arguments
VCS hashes are not included.
If you build as package name.
VCS hashes are included. This is the behavior we expect in Go 1.18.
The behavior of whether or not VCS hashes are included in builds with the
go build
argument is described in the draft release notes, but there is room to improve the documentation.The text was updated successfully, but these errors were encountered: