diff options
| author | bors <bors@rust-lang.org> | 2024-08-05 13:01:07 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-08-05 13:01:07 +0000 |
| commit | 56a79223777c41d34d4d8d8135cd09e12e5e05c4 (patch) | |
| tree | 9c6f15595c58cdf6343beb0e78a44cb9476a16b9 | |
| parent | 9d99d39eaf58d3f7db44d3e370a53650e8aba908 (diff) | |
| parent | 92a07b8b9c6b8d79f9e5f9f6644fdf16d250e154 (diff) | |
| download | rust-56a79223777c41d34d4d8d8135cd09e12e5e05c4.tar.gz rust-56a79223777c41d34d4d8d8135cd09e12e5e05c4.zip | |
Auto merge of #17801 - Veykril:unbrick-metrics, r=Veykril
minor: Fix metrics not running `@bors` r+
| -rw-r--r-- | src/tools/rust-analyzer/xtask/src/metrics.rs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/tools/rust-analyzer/xtask/src/metrics.rs b/src/tools/rust-analyzer/xtask/src/metrics.rs index 21001c28da6..6555f225415 100644 --- a/src/tools/rust-analyzer/xtask/src/metrics.rs +++ b/src/tools/rust-analyzer/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()); } |
