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

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

Closed
sibskull opened this issue Nov 26, 2021 · 2 comments · Fixed by #10178
Closed

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

sibskull opened this issue Nov 26, 2021 · 2 comments · Fixed by #10178
Labels

Comments

@sibskull
Copy link

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
@sibskull sibskull added the C-bug Category: bug label Nov 26, 2021
@Eh2406
Copy link
Contributor

Eh2406 commented Nov 26, 2021

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
Copy link
Contributor

ehuss commented Dec 7, 2021

I have posted a fix for this at #10178.

@bors bors closed this as completed in fe69af3 Dec 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants