We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3a6196b commit 520d02fCopy full SHA for 520d02f
xtask/src/metrics.rs
@@ -97,6 +97,7 @@ impl Metrics {
97
name: &str,
98
path: &str,
99
) -> anyhow::Result<()> {
100
+ assert!(Path::new(path).exists(), "unable to find bench in {path}");
101
eprintln!("\nMeasuring analysis-stats/{name}");
102
let output = cmd!(sh, "./target/release/rust-analyzer -q analysis-stats {path}").read()?;
103
for (metric, value, unit) in parse_metrics(&output) {
0 commit comments