Skip to content

Commit a307e4f

Browse files
bors[bot]matklad
andauthored
Merge #7770
7770: reliable memory usage during benchmarking r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2 parents 0892ccd + 68a9411 commit a307e4f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

xtask/src/main.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,10 @@ FLAGS:
134134
"bb" => {
135135
let suffix: String = args.free_from_str()?;
136136
finish_args(args)?;
137-
cmd!("cargo build --release").run()?;
137+
{
138+
let _d = pushd("./crates/rust-analyzer")?;
139+
cmd!("cargo build --release --features jemalloc").run()?;
140+
}
138141
cp("./target/release/rust-analyzer", format!("./target/rust-analyzer-{}", suffix))?;
139142
Ok(())
140143
}

0 commit comments

Comments
 (0)