-
Notifications
You must be signed in to change notification settings - Fork 62
Can't find rustup #231
Comments
@robinst, |
Weird, I have the newest version of rustup. I guess it has some special handling to keep installing into the same directory. I'll try wiping it and reinstalling rustup and see which directory it ends up in. Thanks! |
As far as I know, |
Having the same problem with a freshly installed Rust
|
@JonasFromell, |
Freshly installed rustup now, still doesn't find it:
|
@robinst, |
Tried switching to nightly, still get "You do not use Rustup. Rustup is a preffered way to install Rust and its components". |
Post what the "Rust Logging" output channel says if you start the extension and the nightly is used. |
Switched to nightly, still got the message. But after a few restarts of VSCode the message disappears. Same thing again when i did an |
So I think I know what the problem was for me: Maybe vscode-rust could check |
@robinst, |
@KalitaAlexey It does seem like there should at least be some documentation on how to solve this issue. Telling people they don't have Rustup installed when they know they do is problematic. Maybe a better message would also be to say "can't find rustup". |
@wagenet, |
Is this issue supposed to be fixed? I still get the banner every time I open Visual Studio Code, despite rustup being installed. |
I also still get this banner every time. Does this affect everyone running on a Mac? |
I'm also getting this error on Fedora 25 so it's not Mac specific rustc --print=sysroot |
One silly way you can get this, is to reopen VSCode from a terminal that was opened before you installed |
@liamdawson, |
Agreed, I was just throwing it out there as a troubleshooting check :)
…On Tue, Jun 20, 2017, 14:47 Alexey ***@***.***> wrote:
@liamdawson <https://github.com/liamdawson>,
It's actually understandable.
It's not an issue because that's how OS works.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#231 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAuZT30H_aG3oz9_4NGuHx-lB3YDYtD-ks5sF07RgaJpZM4NWK-C>
.
|
I've just published the new version (0.4.0). |
It still doesn't work for me.
|
@robinst, |
Via the .app on Mac OS. Ok :/. |
@robinst, |
Those who use Linux, https://help.ubuntu.com/community/EnvironmentVariables |
I hope it helps. |
For anyone else having problems, give this extension a go, it worked better at finding rustup for me: https://marketplace.visualstudio.com/items?itemName=rust-lang.rust |
I have the same issue with recent rustup but only when macOS automatically restores windows on OS startup. I think there must be something missing in env at this point. After restarting VSCode everything works as expected. |
Version of VSCode: 1.12.1
Version of the extension: 0.3.14
OS: Mac OS
Description: I get the "You do not use Rustup. Rustup is a preffered way to install Rust and its components" message. But I have rustup installed. Not sure where to configure it to fix it. Output:
Thanks for your help!
Output of the "Rust logging" channel:
The text was updated successfully, but these errors were encountered: