mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-27 21:43:37 +00:00
Merge #1707
1707: make sure lockfile is used for cargo install r=matklad a=matklad Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
This commit is contained in:
commit
43dd8b64e7
1 changed files with 2 additions and 2 deletions
|
@ -149,8 +149,8 @@ fn install_client(ClientOpt::VsCode: ClientOpt) -> Result<()> {
|
||||||
|
|
||||||
fn install_server(opts: ServerOpt) -> Result<()> {
|
fn install_server(opts: ServerOpt) -> Result<()> {
|
||||||
if opts.jemalloc {
|
if opts.jemalloc {
|
||||||
run("cargo install --path crates/ra_lsp_server --force --features jemalloc", ".")
|
run("cargo install --path crates/ra_lsp_server --locked --force --features jemalloc", ".")
|
||||||
} else {
|
} else {
|
||||||
run("cargo install --path crates/ra_lsp_server --force", ".")
|
run("cargo install --path crates/ra_lsp_server --locked --force", ".")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue