cmd/go: populate debug.Module.Sum even if build in devel mode #33533
Labels
FeatureRequest
Issues asking for a new feature that does not need a proposal.
help wanted
modules
NeedsFix
The path to resolution is known, but the work has not been done.
Milestone
Related to #29814
When a binary is build from within a module's source tree, the output from runtime/debug.ReadBuildInfo currently reports the module as having version
(devel)
.This is understandable.
However, I don't think there is technical reason why the
Sum
at least can't be computed.This has usefulness when building commandline tools from the source tree, and you want to at least emit some versioning information that distinguishes one build from another build at a different commit.
\cc @bcmills
The text was updated successfully, but these errors were encountered: