mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-11-15 17:28:09 +00:00
reliable memory usage during benchmarking
This commit is contained in:
parent
27ed1ebf89
commit
68a9411845
1 changed files with 4 additions and 1 deletions
|
@ -134,7 +134,10 @@ FLAGS:
|
|||
"bb" => {
|
||||
let suffix: String = args.free_from_str()?;
|
||||
finish_args(args)?;
|
||||
cmd!("cargo build --release").run()?;
|
||||
{
|
||||
let _d = pushd("./crates/rust-analyzer")?;
|
||||
cmd!("cargo build --release --features jemalloc").run()?;
|
||||
}
|
||||
cp("./target/release/rust-analyzer", format!("./target/rust-analyzer-{}", suffix))?;
|
||||
Ok(())
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue