We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4f72216 commit fa5a327Copy full SHA for fa5a327
xtask/src/metrics.rs
@@ -86,7 +86,7 @@ impl Metrics {
86
fn measure_rustc_tests(&mut self, sh: &Shell) -> anyhow::Result<()> {
87
eprintln!("\nMeasuring rustc tests");
88
89
- cmd!(sh, "git clone https://github.com/rust-lang/rust").run()?;
+ cmd!(sh, "git clone --depth=1 https://github.com/rust-lang/rust").run()?;
90
91
let output = cmd!(sh, "./target/release/rust-analyzer rustc-tests ./rust").read()?;
92
for (metric, value, unit) in parse_metrics(&output) {
0 commit comments