Closed as not planned
Description
I am using this version of rustc:
% rustc --version
rustc 1.79.0 (129f3b996 2024-06-10)
I cloned the Rust repo:
git clone https://github.com/rust-lang/rust.git
I am unable to checkout the commit corresponding to the installed version of rustc:
% git checkout 129f3b996
error: pathspec '129f3b996' did not match any file(s) known to git
Meta
rustc --version --verbose
:
rustc 1.79.0 (129f3b996 2024-06-10)
binary: rustc
commit-hash: 129f3b9964af4d4a709d1383930ade12dfe7c081
commit-date: 2024-06-10
host: aarch64-apple-darwin
release: 1.79.0
LLVM version: 18.1.7
I am able to find the commit by searching for it on GitHub via the UI:
129f3b9
Note the message at the top:
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
It appears the commit was part of PR #126219, see the message:
bors merged commit 129f3b9 into rust-lang:stable on Jun 10
I would expect the commit hash provided by rustc --version
to be retrievable from any clone of the repo.
Metadata
Metadata
Assignees
Labels
No labels