Closed goktugerol-dev closed 2 years ago
(Is the path correct? I saw the Rustup file in that folder.)
No, the path to rustup
is ~/.cargo/bin/rustup
, not ~/.cargo/env
. I don't know if expansion is done, so you can also try typing that in full (/home/cyber9unk/.cargo/bin/rustup
).
Unrelated, but if you haven't, you might want to give the rust-analyzer
extension a try, see #927.
Thanks! Now it works.
Issues Two warnings
When it happens?
When opening a rust project.
Expected Action
To not get these error messages and start coding normally..
Comments: Rust is installed in the machine, the extension simply cannot find it. In the extension settings I manually indicated the path of the files but it's still giving the same errors.
(Is the path correct? I saw the Rustup file in that folder.)
Previously had Crouton / Ubuntu in the same machine and it was pretty straightforward to install and use. Changed back to Crostini (Debian 11) and I could never use Rust since then.
I installed from https://rustup.rs just like the notification told me to do. When it didn't work, I deleted by autouninstall command and installed from here https://www.rust-lang.org/ja/tools/install
I'm not quite sure about the difference but seems like it's the same file... Anyways, none of these two worked for me.