Use -q to silence RA output

This commit is contained in:
Jakub Beránek 2025-04-15 12:46:56 +02:00
parent ad7a8a43c5
commit 2110265577
No known key found for this signature in database
GPG key ID: 909CD0D26483516B

View file

@ -189,10 +189,8 @@ fn gather_pgo_profile<'a>(
eprintln!("Training RA on {label}...");
cmd!(
sh,
"target/{target}/release/rust-analyzer analysis-stats --run-all-ide-things {train_path}"
"target/{target}/release/rust-analyzer analysis-stats -q --run-all-ide-things {train_path}"
)
// analysis-stats produces an enormous amount of output on stdout
.ignore_stdout()
.run()
.context("cannot generate PGO profiles")?;