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

wrong nightly rust version #176

Closed
lolbinarycat opened this issue Jun 1, 2024 · 2 comments
Closed

wrong nightly rust version #176

lolbinarycat opened this issue Jun 1, 2024 · 2 comments

Comments

@lolbinarycat
Copy link

$ nix shell github:oxalica/rust-overlay#rust-nightly_2024-06-01
$ cargo version
cargo 1.80.0-nightly (431db31d0 2024-05-28)

this seems quite bad?

@lolbinarycat
Copy link
Author

locked version:

$ nix shell github:oxalica/rust-overlay/ab69b67fac9a96709fbef0b899db308ca714a120#rust-nightly_2024-06-01
$ cargo version
cargo 1.80.0-nightly (431db31d0 2024-05-28)

@oxalica
Copy link
Owner

oxalica commented Jun 2, 2024

The URL is correct and it's producing the same result as rustup's nightly toolchain. rustc --version also shows the expected result.

I guess it's because nightly is shipped based on the rust-lang/rust repo itself, which contains a snapshot of all tools (including cargo). And not every tool is updated every day, their submodule is updated in a batch manner.
The last cargo update PR seems to be just after the nightly release time rust-lang/rust#125835, and the second last one is merged on 2024-05-28 rust-lang/rust#125682 which is what you see.

@oxalica oxalica closed this as not planned Won't fix, can't repro, duplicate, stale Jun 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants