From 18484365e69de06f20c234d57888a4b13ad9442b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lauren=C8=9Biu=20Nicola?= Date: Sat, 5 Jun 2021 14:03:56 +0300 Subject: Enable proc macros and build scripts by default in CLI --- xtask/src/metrics.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'xtask') diff --git a/xtask/src/metrics.rs b/xtask/src/metrics.rs index b0b76b8aa..34679062f 100644 --- a/xtask/src/metrics.rs +++ b/xtask/src/metrics.rs @@ -81,9 +81,8 @@ impl Metrics { } fn measure_analysis_stats_path(&mut self, name: &str, path: &str) -> Result<()> { eprintln!("\nMeasuring analysis-stats/{}", name); - let output = - cmd!("./target/release/rust-analyzer --quiet analysis-stats --memory-usage {path}") - .read()?; + let output = cmd!("./target/release/rust-analyzer -q analysis-stats --memory-usage {path}") + .read()?; for (metric, value, unit) in parse_metrics(&output) { self.report(&format!("analysis-stats/{}/{}", name, metric), value, unit.into()); } -- cgit v1.2.3