-
Notifications
You must be signed in to change notification settings - Fork 902
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
Distribute using rustup rather than Cargo #1526
Comments
I see that rustup now distributes |
It does not quite work yet, sorry (even using rustfmt does not work properly), but it should be done soon... |
@crumblingstatue fwiw, I worked around by linking $ ls -la /usr/bin/{cargo-fmt,rustfmt}
lrwxrwxrwx 1 root root 15 Dec 20 21:49 /usr/bin/cargo-fmt -> /usr/bin/rustup*
lrwxrwxrwx 1 root root 15 Dec 20 21:49 /usr/bin/rustfmt -> /usr/bin/rustup* |
@nrc one question though: how is the |
@jonhoo |
Hmm, that doesn't seem to be the case for me? $ ls -l /usr/bin/rustfmt
lrwxrwxrwx 1 root root 15 Jan 9 14:28 /usr/bin/rustfmt -> /usr/bin/rustup*
$ rustfmt +nightly --version
0.3.4-nightly (6714a44 2017-12-23)
$ rustup update
...
info: syncing channel updates for 'nightly-x86_64-unknown-linux-gnu'
info: latest update on 2018-01-11, rust version 1.25.0-nightly (f62f77403 2018-01-10)
...
info: downloading component 'rustfmt-preview'
...
info: removing component 'rustfmt-preview'
...
info: installing component 'rustfmt-preview'
...
nightly-x86_64-unknown-linux-gnu updated - rustc 1.25.0-nightly (f62f77403 2018-01-10)
$ rustfmt +nightly --version
0.3.4-nightly (6714a44 2017-12-23) |
@nrc ^ |
@jonhoo It looks to me that rustfmt was correctly up to date. |
Ohh, I guess it only pulls released versions, not the latest git version. That makes sense. |
The rustfmt-preview component disappeared from the nightly toolchain a few days ago.
|
|
This is done now, but I should announce it properly. |
No description provided.
The text was updated successfully, but these errors were encountered: