You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
newgit --version reported (unknown) instead of the commit for every
binary installed from crates.io. The build stamp was derived by running git rev-parse, but a published .crate tarball ships no .git, so the
stamp only ever worked when building from a clone — the one case where you
can already see the commit. It now reads the sha1 that cargo publish
records in .cargo_vcs_info.json, falling back to git for repo builds.
A tarball packaged with --allow-dirty gets the same -dirty suffix a
dirty clone does.