question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Use system installed Rust without rustup

See original GitHub issue

I 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:closed
  • Created 5 years ago
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
mickaelistriacommented, Mar 14, 2019

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.

0reactions
norrucommented, Mar 20, 2019

@Glandos

Having a two months old release instead of the last release that is one month old

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.

Read more comments on GitHub >

github_iconTop 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 >
How to uninstall Rust without rustup - Reddit
Try sudo apt remove rustc . Upvote
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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found