Skip to content

Commit 8137e74

Browse files
committed
Auto merge of #17801 - Veykril:unbrick-metrics, r=Veykril
minor: Fix metrics not running `@bors` r+
2 parents fbed308 + 2d15cdb commit 8137e74

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

xtask/src/metrics.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -117,11 +117,7 @@ impl Metrics {
117117
) -> anyhow::Result<()> {
118118
assert!(Path::new(path).exists(), "unable to find bench in {path}");
119119
eprintln!("\nMeasuring analysis-stats/{name}");
120-
let output = cmd!(
121-
sh,
122-
"./target/release/rust-analyzer -q analysis-stats {path} --query-sysroot-metadata"
123-
)
124-
.read()?;
120+
let output = cmd!(sh, "./target/release/rust-analyzer -q analysis-stats {path}").read()?;
125121
for (metric, value, unit) in parse_metrics(&output) {
126122
self.report(&format!("analysis-stats/{name}/{metric}"), value, unit.into());
127123
}

0 commit comments

Comments
 (0)