Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x/vgo: Include package versions in the built binary #24063

michael-schaller opened this issue Feb 23, 2018 · 1 comment


Copy link

commented Feb 23, 2018

Currently Go binaries only include the Go runtime version that was used at build time. The Go runtime version is accessible through the binary via the runtime.buildVersion symbol or at runtime via runtime.Version(). This information is often used to identify binaries that were built with an outdated or insecure Go runtime.

Could something similar be done for all the packages and their respective versions that go into a Go binary during 'vgo build'?

@gopherbot gopherbot added this to the vgo milestone Feb 23, 2018


This comment has been minimized.

Copy link
Contributor Author

commented Feb 23, 2018

Just read that this is already planned. Thanks for considering it. :-)

@golang golang locked and limited conversation to collaborators Feb 23, 2019

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
None yet
2 participants
You can’t perform that action at this time.