aboutsummaryrefslogtreecommitdiff
path: root/xtask/src
diff options
context:
space:
mode:
Diffstat (limited to 'xtask/src')
-rw-r--r--xtask/src/main.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/xtask/src/main.rs b/xtask/src/main.rs
index 5a99f4a76..cbb9b315e 100644
--- a/xtask/src/main.rs
+++ b/xtask/src/main.rs
@@ -134,7 +134,10 @@ FLAGS:
134 "bb" => { 134 "bb" => {
135 let suffix: String = args.free_from_str()?; 135 let suffix: String = args.free_from_str()?;
136 finish_args(args)?; 136 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 }
138 cp("./target/release/rust-analyzer", format!("./target/rust-analyzer-{}", suffix))?; 141 cp("./target/release/rust-analyzer", format!("./target/rust-analyzer-{}", suffix))?;
139 Ok(()) 142 Ok(())
140 } 143 }