Skip to content

rustc 1.79.0 commit hash 129f3b996 not found in repo #128114

Closed as not planned
Closed as not planned
@xSetech

Description

@xSetech

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions