Skip to content

x.y is not a valid version for toolchain install #554

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

Closed
nagisa opened this issue Jul 1, 2016 · 3 comments
Closed

x.y is not a valid version for toolchain install #554

nagisa opened this issue Jul 1, 2016 · 3 comments

Comments

@nagisa
Copy link
Member

nagisa commented Jul 1, 2016

took me a while to figure out I need version in x.y.z format.

@brson
Copy link
Contributor

brson commented Jul 8, 2016

As with some other features, this will require an index of all releases on the server to make work.

A related issue is that rustup doesn't ever do any fuzzy matching on semver - all versions are exact. This will become an important matter when Rust makes its first stable point release. There will probably be a reasonable expectation that rustup upgrades from X.Y.0 to X.Y.1 automatically.

@steveklabnik
Copy link
Member

Also, it's worth noting that the semver spec is a bit murky around x.y being equivalent to x.y.z, so the semver crate doesn't parse it as a version. There's a PR for it, but I haven't decided if I want to merge it or not.

dns2utf8 added a commit to dns2utf8/alpm-rs that referenced this issue Sep 27, 2016
Versions must be x.y.z, see rust-lang/rustup#554
@Diggsey
Copy link
Contributor

Diggsey commented May 4, 2017

Dupe of #794

@Diggsey Diggsey closed this as completed May 4, 2017
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

4 participants