Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

I want to install rls, but I see that I need to install rustup. It is not a good idea to install too many thins for new user. #1752

Open
netjune opened this issue Nov 16, 2021 · 4 comments

Comments

@netjune
Copy link

netjune commented Nov 16, 2021

It is not a good idea to install too many thins for new user.

I'm a golang user. I just want to have a try with rust. But I need to install too many things. It makes me give up.

@jneira
Copy link

jneira commented Feb 4, 2022

Hi, there is an option to opt out rustup usage:

"rust-client.disableRustup": false

the description says: Disable usage of rustup and use rustc/rls from PATH

So in theory it could work installing only rustc and rls. I think the default is good as rustup is really easy to install and the extension uses it to install the rest of things.

@ashton314
Copy link

The go command, if I remember correctly, bundles up a bunch of things that Rust has broken out into individual utilities; consider installing rustup like having the go get subcommand. (Not the best comparison, but it gets the idea across.) It's part of the core language tooling, so it shouldn't cause you any pain (unless you are, for some reason, really strapped on disk space) to install it.

@ashton314
Copy link

ashton314 commented Feb 16, 2022

Bear in mind, you don’t need rls to try out Rust. All you really need is rustc (and cargo probably) so if you want more tooling, you’re just going to have to install the tool chain manager if you don’t want to jump through some awkward hoops.

@nemith
Copy link

nemith commented Mar 7, 2022

The go command, if I remember correctly, bundles up a bunch of things that Rust has broken out into individual utilities;

Really the go command is equivelent to cargo. My biggest beef with cargo is installing toolchains and toolsinto $HOME. I don't want them there and it's harder to control versioning of my system which includes non-rust utilities as well.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants