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

Extension doesn't work if there's more than 1 Nightly Toolchain #281

Closed
CryZe opened this issue Jun 20, 2017 · 4 comments
Closed

Extension doesn't work if there's more than 1 Nightly Toolchain #281

CryZe opened this issue Jun 20, 2017 · 4 comments

Comments

@CryZe
Copy link
Contributor

CryZe commented Jun 20, 2017

Version of VSCode: 1.31.1
Version of the extension: 0.4.0
OS: Windows 10 64-bit

Description: Neither RLS nor Racer start at all anymore. It seems like the extension gets confused by me having both nightly-msvc and nightly-gnu installed, so it thinks that there's no toolchain installed instead.

Output of the "Rust logging" channel:

DEBUG: activate: getNightlyToolchain: There are 2 nightly toolchains
DEBUG: RlsMode: start: enter
DEBUG: Rustup: isRlsInstalled: getNightlyToolchain: There are 2 nightly toolchains
ERROR: Rustup: isRlsInstalled: no nightly toolchain
DEBUG: RlsMode: start: no RLS executable
DEBUG: RlsMode: start: has rustup
DEBUG: RlsMode: handleMissingRls: Permission to install RLS has been granted
DEBUG: RlsMode: handleMissingRls: getNightlyToolchain: There are 2 nightly toolchains
DEBUG: RlsMode: handleMissingRls: The nightly toolchain is not installed
DEBUG: RlsMode: handleMissingRls: handleMissingNightlyToolchain: permissionGranted=false
DEBUG: RlsMode: handleMissingRls: getNightlyToolchain: There are 2 nightly toolchains
DEBUG: RlsMode: handleMissingRls: The nightly toolchain is not installed
DEBUG: RlsMode: start: RLS has not been installed
@CryZe
Copy link
Contributor Author

CryZe commented Jun 20, 2017

Deleting one of the nightly toolchains fixes it.

Update: Okay, so RLS gets stuck in an infinite loop while compiling with rustc. Legacy toolchain works flawlessly.

@CryZe CryZe changed the title Neither RLS nor Racer work anymore Extension doesn't work if there's more than 1 Nightly Toolchain Jun 20, 2017
@KalitaAlexey
Copy link
Member

Yep.
That's what #280 is about.

@CryZe
Copy link
Contributor Author

CryZe commented Jun 20, 2017

It already did ask me and it stored it in the settings, but completely ignored this apparently. Whoops, that question was about the "normal toolchain" apparently?!

@KalitaAlexey
Copy link
Member

@CryZe,
Yes it is for the normal toolchain.
A lot of people use the stable toolchain.
I added "rustup.toolchain" to let developers decide which one to use.
I thought people usually have the only one nightly toolchain.
That's not the hard to solve, but I didn't want to stop publishing a new version.

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

2 participants