diff options
author | Aleksey Kladov <[email protected]> | 2020-02-18 12:30:40 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2020-02-18 12:30:40 +0000 |
commit | d05480a178b132e62b8aff8986a8cb3dd3a89c0b (patch) | |
tree | 0fc36373073a66c2bbd6c7cfae6cb734527d847f /xtask/src | |
parent | 2768476e491d985317b08230824f96e6718f338a (diff) | |
parent | 865759925be6b72f7ef39124ed0e4c86c0412a69 (diff) |
Merge pull request #3216 from matklad/rename-to-rust-analyzer
rename binary to rust-analyzer
Diffstat (limited to 'xtask/src')
-rw-r--r-- | xtask/src/install.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xtask/src/install.rs b/xtask/src/install.rs index 91426377f..cc6fecc85 100644 --- a/xtask/src/install.rs +++ b/xtask/src/install.rs | |||
@@ -39,7 +39,7 @@ impl InstallCmd { | |||
39 | " | 39 | " |
40 | Installation complete. | 40 | Installation complete. |
41 | 41 | ||
42 | Add `\"rust-analyzer.raLspServerPath\": \"ra_lsp_server\",` to VS Code settings, | 42 | Add `\"rust-analyzer.serverPath\": \"rust-analyzer\",` to VS Code settings, |
43 | otherwise it will use the latest release from GitHub. | 43 | otherwise it will use the latest release from GitHub. |
44 | " | 44 | " |
45 | ) | 45 | ) |
@@ -142,7 +142,7 @@ fn install_server(opts: ServerOpt) -> Result<()> { | |||
142 | } | 142 | } |
143 | 143 | ||
144 | let jemalloc = if opts.jemalloc { "--features jemalloc" } else { "" }; | 144 | let jemalloc = if opts.jemalloc { "--features jemalloc" } else { "" }; |
145 | let res = run!("cargo install --path crates/ra_lsp_server --locked --force {}", jemalloc); | 145 | let res = run!("cargo install --path crates/rust-analyzer --locked --force {}", jemalloc); |
146 | 146 | ||
147 | if res.is_err() && old_rust { | 147 | if res.is_err() && old_rust { |
148 | eprintln!( | 148 | eprintln!( |