From 84483f672f27ea840aa14179c1875f3d6aac02d2 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Tue, 2 Mar 2021 16:50:03 +0300 Subject: Fix xflags fallout https://github.com/rust-analyzer/rust-analyzer/pull/7847#issuecomment-788920830 --- xtask/src/metrics.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xtask/src/metrics.rs b/xtask/src/metrics.rs index eb58b3274..72de92c64 100644 --- a/xtask/src/metrics.rs +++ b/xtask/src/metrics.rs @@ -80,7 +80,7 @@ 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 analysis-stats --quiet --memory-usage {path}") + cmd!("./target/release/rust-analyzer --quiet 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