diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2021-03-02 13:54:56 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2021-03-02 13:54:56 +0000 |
commit | 8e7c42d1be34a4355766040cdc67ed040d8da6e2 (patch) | |
tree | a00e563cc1e879f00d754ad1c471f93bc6acf2b5 | |
parent | 6a585c6ee24bbebfed2d0aafcf2e885a9ae77877 (diff) | |
parent | 84483f672f27ea840aa14179c1875f3d6aac02d2 (diff) |
Merge #7849
7849: Fix xflags fallout r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <[email protected]>
-rw-r--r-- | xtask/src/metrics.rs | 2 |
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()); |