Skip to content

invalid(?) toolchain specification confuses rustup #751

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
durka opened this issue Oct 10, 2016 · 1 comment
Closed

invalid(?) toolchain specification confuses rustup #751

durka opened this issue Oct 10, 2016 · 1 comment

Comments

@durka
Copy link
Contributor

durka commented Oct 10, 2016

Specifying a toolchain version that rustup doesn't recognize seems to do the wrong thing.

Installation:

$ rustup update 1.8
error: toolchain '1.8' is not installed # I know, that's what I was trying to change!
$ rustup update 1.8.0
info: syncing channel updates for '1.8.0-x86_64-apple-darwin' # OK
...

Running:

$ rustup run 1.8 rustc -V
error: toolchain '1.8' is not installed # but I just installed 1.8.0!
$ rustup run 1.8 cargo script -e 1
error: toolchain '1.8' is not installed # expected e.g. "unrecognized toolchain version"
info: caused by: not a directory: '/Users/alex/.multirust/toolchains/1.8' # WAT
internal error: cargo failed with status 1 # why did you run cargo if it's not installed‽‽
$ rustup run 1.8.0 cargo script -e 1
   Compiling expr v0.1.0 (file:///Users/alex/.cargo/.cargo/script-cache/expr-356a192b7913b04c)
1 # OK
@Diggsey
Copy link
Contributor

Diggsey commented May 3, 2017

Dupe of #793

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

2 participants