Print "Checking" for cargo check
authorvarkor <github@varkor.com>
Thu, 19 Apr 2018 00:08:35 +0000 (01:08 +0100)
committervarkor <github@varkor.com>
Thu, 19 Apr 2018 00:08:35 +0000 (01:08 +0100)
src/cargo/core/compiler/job_queue.rs

index fb6cf95ade90a054b13cd11c47e16d9e93dc2450..9f33e9ca4bfbd8816ae1b630fb930ed782c42152 100644 (file)
@@ -383,7 +383,11 @@ impl<'a> JobQueue<'a> {
                     }
                 } else {
                     self.compiled.insert(key.pkg);
-                    config.shell().status("Compiling", key.pkg)?;
+                    if key.profile.check {
+                        config.shell().status("Checking", key.pkg)?;
+                    } else {
+                        config.shell().status("Compiling", key.pkg)?;
+                    }
                 }
             }
             Fresh if self.counts[key.pkg] == 0 => {