Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
cmd/go: populate debug.Module.Sum even if build in devel mode #33533
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
However, I don't think there is technical reason why the
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.