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

Include nightly toolchain date in sort #1

Closed
dtolnay opened this issue Jan 25, 2019 · 3 comments
Closed

Include nightly toolchain date in sort #1

dtolnay opened this issue Jan 25, 2019 · 3 comments

Comments

@dtolnay
Copy link
Contributor

dtolnay commented Jan 25, 2019

Nightly version strings look like:

rustc 1.33.0-nightly (01f8e25b1 2019-01-24)
@gsquire
Copy link
Owner

gsquire commented Jan 25, 2019

I suppose I could also grab the date when I parse this version string and if I see two nightly toolchains, use that as a second comparison. I am curious though. Is it possible to have more than one nightly toolchain on a machine?

@dtolnay
Copy link
Contributor Author

dtolnay commented Jan 25, 2019

Yes, I often have dozens installed. :D

$ rustup install nightly-2019-01-01
$ rustup install nightly-2019-01-02
$ rustup install nightly-2019-01-03
$ rustup install nightly-2019-01-04
$ rustup install nightly-2019-01-05
$ rustup install nightly-2019-01-06
$ rustup install nightly-2019-01-07
$ rustup install nightly-2019-01-08
$ rustup install nightly-2019-01-09
$ rustup install nightly-2019-01-10

@gsquire
Copy link
Owner

gsquire commented Jan 26, 2019

I just published version 0.1.1. Let me know if you still run into any issues.

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