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

Sort toolchains by semantic version. #688

Merged
merged 1 commit into from
Aug 26, 2016
Merged

Conversation

malbarbo
Copy link
Contributor

The current output of rustup toolchain list is sorted by the toolchain directory name. This pull request change the sort to be by semantic version.

This change the following output:

stable-x86_64-unknown-linux-gnu
beta-x86_64-unknown-linux-gnu
nightly-x86_64-unknown-linux-gnu
1.0.0-x86_64-unknown-linux-gnu
1.10.0-x86_64-unknown-linux-gnu
1.2.0-x86_64-unknown-linux-gnu

to:

stable-x86_64-unknown-linux-gnu
beta-x86_64-unknown-linux-gnu
nightly-x86_64-unknown-linux-gnu
1.0.0-x86_64-unknown-linux-gnu
1.2.0-x86_64-unknown-linux-gnu
1.10.0-x86_64-unknown-linux-gnu

@Boddlnagg
Copy link
Contributor

This would fix #668 as far as I can see.

@brson brson merged commit c8cc167 into rust-lang:master Aug 26, 2016
@brson
Copy link
Contributor

brson commented Aug 26, 2016

Beautiful. Thanks @malbarbo !

@malbarbo malbarbo deleted the sort-semver branch September 30, 2016 12:30
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

Successfully merging this pull request may close these issues.

3 participants