mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 06:11:35 +00:00
Make always-assert crate reusable
This commit is contained in:
parent
2664aee8e5
commit
d35bda6429
11 changed files with 24 additions and 73 deletions
|
@ -180,7 +180,7 @@ fn install_server(opts: ServerOpt) -> Result<()> {
|
|||
Malloc::Jemalloc => &["--features", "jemalloc"],
|
||||
};
|
||||
|
||||
let cmd = cmd!("cargo install --path crates/rust-analyzer --locked --force {features...}");
|
||||
let cmd = cmd!("cargo install --path crates/rust-analyzer --locked --force --features force-always-assert {features...}");
|
||||
let res = cmd.run();
|
||||
|
||||
if res.is_err() && old_rust {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue