diff options
author | Aleksey Kladov <[email protected]> | 2019-08-20 17:27:33 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-08-20 17:27:33 +0100 |
commit | 1ae186a4cc3fd108caec8cecfdb7e0bc02aa079c (patch) | |
tree | e92c85bed9e50bc1bf5f411047a0468b8de4c2a7 | |
parent | c7d37e424f1e04f87982233f97e1e9385191b7f1 (diff) |
make sure lockfile is used for cargo install
-rw-r--r-- | crates/ra_tools/src/main.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ra_tools/src/main.rs b/crates/ra_tools/src/main.rs index 03cb9d5a7..33badf290 100644 --- a/crates/ra_tools/src/main.rs +++ b/crates/ra_tools/src/main.rs | |||
@@ -149,8 +149,8 @@ fn install_client(ClientOpt::VsCode: ClientOpt) -> Result<()> { | |||
149 | 149 | ||
150 | fn install_server(opts: ServerOpt) -> Result<()> { | 150 | fn install_server(opts: ServerOpt) -> Result<()> { |
151 | if opts.jemalloc { | 151 | if opts.jemalloc { |
152 | run("cargo install --path crates/ra_lsp_server --force --features jemalloc", ".") | 152 | run("cargo install --path crates/ra_lsp_server --locked --force --features jemalloc", ".") |
153 | } else { | 153 | } else { |
154 | run("cargo install --path crates/ra_lsp_server --force", ".") | 154 | run("cargo install --path crates/ra_lsp_server --locked --force", ".") |
155 | } | 155 | } |
156 | } | 156 | } |