You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.
I've been trying to get rls working with my Emacs's lsp-mode. Emacs keeps complaining that the server didn't start:
LSP :: Restarting LSP in buffer main.rs
LSP :: Connected to [rls:10458 status:starting].
LSP :: rls has exited (finished)
Server rls:10458 status:starting exited with status exit. Do you want to restart it? (y or n) y
I've been trying to get something out of it from the command line. Both rls --help and rls --cli just seem to exit straight away without any output making it hard to glean what might be wrong. The install details are as follows:
Did you install it via rustup as described in the README or did you install it via cargo? Because the version cargo pulls from crates.io is just an empty placeholder.
@troethe yeah it was from cargo - switching to rustup works. I does seem a bit silly to have a place-holder binary in cargo that gives no clue as to why it fails. Following guides for the LSP's didn't say anything special about installing rls via something other than cargo which is why I never saw the README here.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I've been trying to get rls working with my Emacs's
lsp-mode
. Emacs keeps complaining that the server didn't start:I've been trying to get something out of it from the command line. Both
rls --help
andrls --cli
just seem to exit straight away without any output making it hard to glean what might be wrong. The install details are as follows:but even under strace it seems to exit super quickly:
Any pointers on how to debug what is going on?
The text was updated successfully, but these errors were encountered: