Skip to content

cargo --version is not same as rustc --version for rust-1.56.1  #10122

@sibskull

Description

@sibskull

Problem

rustc 1.56.1
# cargo --version
cargo 1.56.0```

I guess this is wrong because there is note at https://github.com/rust-lang/cargo/blob/7f08ace4f1305de7f3b1b0e2f765911957226bd4/src/cargo/lib.rs#L160

Rust 1.56.1 is built from source tarball.

### Steps

_No response_

### Possible Solution(s)

_No response_

### Notes

_No response_

### Version

```text
cargo 1.56.0
release: 1.56.0

Activity

Eh2406

Eh2406 commented on Nov 26, 2021

@Eh2406
Contributor

I think that the Cargo version changes when there are changes to Cargo. If the patch release of Rust did not need a change to Cargo then Cargos version would not change.

ehuss

ehuss commented on Dec 7, 2021

@ehuss
Contributor

I have posted a fix for this at #10178.

added a commit that references this issue on Dec 13, 2021
fe69af3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @ehuss@sibskull@Eh2406

      Issue actions

        cargo --version is not same as rustc --version for rust-1.56.1 · Issue #10122 · rust-lang/cargo