can't start RLS with OS installed packages. #439
Description
When I try to start the plugin (0.4.10) I get three notifications:
Couldn't start client Rust Language Server
Rustup not available. Install from https://www.rustup.rs/
RLS could not set RUST_SRC_PATH for Racer because it could not read the Rust sysroot.
Full log at https://pastebin.com/DNw60Q7w
rustc
and rls
are both installed from RPMs. OS is Fedora 28. I have also installed additional packages at the recommendation of some Fedora users on the Rust forums (rls-preview
and rust-src
)
[hbarta@redmaple ~]$ dnf list|egrep "rustc-|rls-|rust-src"
rls-preview.x86_64 0.130.0-2.fc28 @updates
rust-src.noarch 1.29.1-2.fc28 @updates
rust-rustc-demangle-devel.noarch 0.1.7-1.fc28 fedora
rust-rustc-serialize-devel.noarch 0.3.24-5.fc28 fedora
rust-rustc-test-devel.noarch 0.2.0-3.fc28 fedora
[hbarta@redmaple ~]$
Both rustc
and rls
are installed:
[hbarta@redmaple ~]$ which rls
/usr/bin/rls
[hbarta@redmaple ~]$ rls --version
rls-preview 0.130.0-stable ( )
[hbarta@redmaple ~]$ rustc --version
rustc 1.29.1
[hbarta@redmaple ~]$
I would much prefer to use packages provided by the Linux distro than have to use multiple commands to update my system. Is there something missing that the plugin needs (and hence the attempt to run rustup
) or is rustup
intrinsically required by the plugin?
Thanks!