Use system installed Rust without rustup
See original GitHub issueI am using Debian/testing, with Rust 1.32.0, which I guess is recent enough.
I don’t want to install rustup. The installation method is scary, using curl <random url> | sh
doesn’t feel safe to me.
Is there a way to use corrosion without rustup?
By the way, I tried the manual method, and here is the result:
> ./rustup-init
error: it looks like you have an existing installation of Rust at:
error: /usr/bin
error: rustup cannot be installed alongside Rust. Please uninstall first
error: if this is what you want, restart the installation with `-y'
error: cannot install while Rust is installed
So I don’t have any clue for now.
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (5 by maintainers)
Top Results From Across the Web
Other Installation Methods - Rust Forge
If you need to install Rust without access to the internet, rustup is not suitable. Preference for the system package manager.
Read more >Install without rustup · Issue #1399 · rust-lang/rls - GitHub
I tried to use Eclipse Corrosion, and it requires RLS to run. However, RLS requires rustup, but the installation method is somewhat scary....
Read more >Other installation methods - The rustup book
To install rustup from source, check out the git repository from https://github.com/rust-lang/rustup and run cargo run --release . Note that after installation ......
Read more >How to Install Rust Offline? - GeeksforGeeks
Step 1: Go to this website. Choose 32-bit or 64-bit based on your system. ; Step 2: After installation, open the rustup_init.exe and...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Rustup is necessary to install RLS. If you’re scared by rustup you can simply audit the .sh file so you’ll feel better, or just trust the fact that it’s an official Rust project so you can trust this script as much as you trust installing the rust compiler.
In any case, it’s not something that we can change in corrosion.
@Glandos
In RLS/Corrosion terms, two months is “ancient” 😉. In fact, it tends to target
nightly
. In the future, this is going to improve as the feature set stabilizes. Even if the RLS team have decided to change the version number with 1.x, this was a mistake in my opinion, as most features, as well as the interface itself, are, currently, quite in-flux.I don’t think it’s even possible to build RLS with
stable
.Said that I do understand your concern and your points are, in the general discourse, valid. Thing is, at the moment, my understanding is that what you are asking for is not even close to being a priority.