diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2019-08-20 17:27:57 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2019-08-20 17:27:57 +0100 |
commit | 43dd8b64e70ab883f39d3dcf73a21daf0e2fe6ea (patch) | |
tree | e92c85bed9e50bc1bf5f411047a0468b8de4c2a7 /crates/ra_tools/src | |
parent | c7d37e424f1e04f87982233f97e1e9385191b7f1 (diff) | |
parent | 1ae186a4cc3fd108caec8cecfdb7e0bc02aa079c (diff) |
Merge #1707
1707: make sure lockfile is used for cargo install r=matklad a=matklad
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ra_tools/src')
-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 | } |