Unnamed repository; edit this file 'description' to name the repository.
Auto merge of #17801 - Veykril:unbrick-metrics, r=Veykril
minor: Fix metrics not running
`@bors` r+
| -rw-r--r-- | xtask/src/metrics.rs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/xtask/src/metrics.rs b/xtask/src/metrics.rs index 21001c28da..6555f22541 100644 --- a/xtask/src/metrics.rs +++ b/xtask/src/metrics.rs @@ -117,11 +117,7 @@ impl Metrics { ) -> anyhow::Result<()> { assert!(Path::new(path).exists(), "unable to find bench in {path}"); eprintln!("\nMeasuring analysis-stats/{name}"); - let output = cmd!( - sh, - "./target/release/rust-analyzer -q analysis-stats {path} --query-sysroot-metadata" - ) - .read()?; + let output = cmd!(sh, "./target/release/rust-analyzer -q analysis-stats {path}").read()?; for (metric, value, unit) in parse_metrics(&output) { self.report(&format!("analysis-stats/{name}/{metric}"), value, unit.into()); } |