aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2021-03-02 13:50:03 +0000
committerAleksey Kladov <[email protected]>2021-03-02 13:50:03 +0000
commit84483f672f27ea840aa14179c1875f3d6aac02d2 (patch)
tree14198ce7596bcb8b8d4d315c107eef6769b61332
parent8eee9149e87ea58d4191d04ebe6faf57ac8485a3 (diff)
Fix xflags fallout
https://github.com/rust-analyzer/rust-analyzer/pull/7847#issuecomment-788920830
-rw-r--r--xtask/src/metrics.rs2
1 files changed, 1 insertions, 1 deletions
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 {
80 fn measure_analysis_stats_path(&mut self, name: &str, path: &str) -> Result<()> { 80 fn measure_analysis_stats_path(&mut self, name: &str, path: &str) -> Result<()> {
81 eprintln!("\nMeasuring analysis-stats/{}", name); 81 eprintln!("\nMeasuring analysis-stats/{}", name);
82 let output = 82 let output =
83 cmd!("./target/release/rust-analyzer analysis-stats --quiet --memory-usage {path}") 83 cmd!("./target/release/rust-analyzer --quiet analysis-stats --memory-usage {path}")
84 .read()?; 84 .read()?;
85 for (metric, value, unit) in parse_metrics(&output) { 85 for (metric, value, unit) in parse_metrics(&output) {
86 self.report(&format!("analysis-stats/{}/{}", name, metric), value, unit.into()); 86 self.report(&format!("analysis-stats/{}/{}", name, metric), value, unit.into());