mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 22:01:37 +00:00
Enable proc macros and build scripts by default in CLI
This commit is contained in:
parent
fec00f4e13
commit
18484365e6
4 changed files with 21 additions and 22 deletions
|
@ -81,9 +81,8 @@ impl Metrics {
|
|||
}
|
||||
fn measure_analysis_stats_path(&mut self, name: &str, path: &str) -> Result<()> {
|
||||
eprintln!("\nMeasuring analysis-stats/{}", name);
|
||||
let output =
|
||||
cmd!("./target/release/rust-analyzer --quiet analysis-stats --memory-usage {path}")
|
||||
.read()?;
|
||||
let output = cmd!("./target/release/rust-analyzer -q analysis-stats --memory-usage {path}")
|
||||
.read()?;
|
||||
for (metric, value, unit) in parse_metrics(&output) {
|
||||
self.report(&format!("analysis-stats/{}/{}", name, metric), value, unit.into());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue