]> git.lizzy.rs Git - rust.git/commitdiff
minor: unblock metrics
authorLukas Wirth <lukastw97@gmail.com>
Wed, 16 Mar 2022 11:11:21 +0000 (12:11 +0100)
committerLukas Wirth <lukastw97@gmail.com>
Wed, 16 Mar 2022 11:11:21 +0000 (12:11 +0100)
xtask/src/metrics.rs

index b683b32e6d5d2033750387c883cec1a3a310ba51..aa700d715d5f9ad65144240e3fe7eb17b2e1dce8 100644 (file)
@@ -17,7 +17,7 @@ impl flags::Metrics {
     pub(crate) fn run(self, sh: &Shell) -> anyhow::Result<()> {
         let mut metrics = Metrics::new(sh)?;
         if !self.dry_run {
-            sh.remove_path("./target/release")?;
+            let _ = sh.remove_path("./target/release");
         }
         if !Path::new("./target/rustc-perf").exists() {
             sh.create_dir("./target/rustc-perf")?;