Rename the binary to rust-analyzer

This commit is contained in:
Aleksey Kladov 2020-02-18 12:33:16 +01:00
parent 4d307ff802
commit c0fa5e2246
23 changed files with 107 additions and 107 deletions

View file

@ -39,7 +39,7 @@ impl InstallCmd {
"
Installation complete.
Add `\"rust-analyzer.raLspServerPath\": \"ra_lsp_server\",` to VS Code settings,
Add `\"rust-analyzer.raLspServerPath\": \"rust-analyzer\",` to VS Code settings,
otherwise it will use the latest release from GitHub.
"
)
@ -142,7 +142,7 @@ fn install_server(opts: ServerOpt) -> Result<()> {
}
let jemalloc = if opts.jemalloc { "--features jemalloc" } else { "" };
let res = run!("cargo install --path crates/ra_lsp_server --locked --force {}", jemalloc);
let res = run!("cargo install --path crates/rust-analyzer --locked --force {}", jemalloc);
if res.is_err() && old_rust {
eprintln!(