mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-26 04:53:34 +00:00
Fix xflags fallout
https://github.com/rust-analyzer/rust-analyzer/pull/7847#issuecomment-788920830
This commit is contained in:
parent
8eee9149e8
commit
84483f672f
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@ impl Metrics {
|
||||||
fn measure_analysis_stats_path(&mut self, name: &str, path: &str) -> Result<()> {
|
fn measure_analysis_stats_path(&mut self, name: &str, path: &str) -> Result<()> {
|
||||||
eprintln!("\nMeasuring analysis-stats/{}", name);
|
eprintln!("\nMeasuring analysis-stats/{}", name);
|
||||||
let output =
|
let output =
|
||||||
cmd!("./target/release/rust-analyzer analysis-stats --quiet --memory-usage {path}")
|
cmd!("./target/release/rust-analyzer --quiet analysis-stats --memory-usage {path}")
|
||||||
.read()?;
|
.read()?;
|
||||||
for (metric, value, unit) in parse_metrics(&output) {
|
for (metric, value, unit) in parse_metrics(&output) {
|
||||||
self.report(&format!("analysis-stats/{}/{}", name, metric), value, unit.into());
|
self.report(&format!("analysis-stats/{}/{}", name, metric), value, unit.into());
|
||||||
|
|
Loading…
Reference in a new issue