aboutsummaryrefslogtreecommitdiff
path: root/xtask/src/install.rs
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-02-18 11:33:16 +0000
committerAleksey Kladov <[email protected]>2020-02-18 11:33:16 +0000
commitc0fa5e2246457df10e92c2e11c971f2f40921793 (patch)
tree323d890c830b14c222113fa8617070c3b1fde3d2 /xtask/src/install.rs
parent4d307ff8024c8d2d533bc3ab7aac1d63ca5c5977 (diff)
Rename the binary to rust-analyzer
Diffstat (limited to 'xtask/src/install.rs')
-rw-r--r--xtask/src/install.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/xtask/src/install.rs b/xtask/src/install.rs
index 91426377f..247a2bca4 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.raLspServerPath\": \"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!(