about summary refs log tree commit diff
path: root/src/bootstrap/tool.rs
diff options
context:
space:
mode:
authorMark Simulacrum <mark.simulacrum@gmail.com>2017-07-14 06:30:16 -0600
committerMark Simulacrum <mark.simulacrum@gmail.com>2017-07-20 11:24:36 -0600
commit681b12316c16911dc95eb9923de5486b142c745a (patch)
tree2b37f1f225d0216895ebc549b57fdf6402f34103 /src/bootstrap/tool.rs
parent270d1d69ede6a67f607ab5dba56d0cc39a8cfe95 (diff)
downloadrust-681b12316c16911dc95eb9923de5486b142c745a.tar.gz
rust-681b12316c16911dc95eb9923de5486b142c745a.zip
Require should_run to be implemented.
Diffstat (limited to 'src/bootstrap/tool.rs')
-rw-r--r--src/bootstrap/tool.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/bootstrap/tool.rs b/src/bootstrap/tool.rs
index 00616caf120..9c5592cd61b 100644
--- a/src/bootstrap/tool.rs
+++ b/src/bootstrap/tool.rs
@@ -55,6 +55,10 @@ pub struct CleanTools {
 impl Step for CleanTools {
     type Output = ();
 
+    fn should_run(_builder: &Builder, _path: &Path) -> bool {
+        false
+    }
+
     /// Build a tool in `src/tools`
     ///
     /// This will build the specified tool with the specified `host` compiler in
@@ -89,6 +93,10 @@ pub struct ToolBuild {
 impl Step for ToolBuild {
     type Output = PathBuf;
 
+    fn should_run(_builder: &Builder, _path: &Path) -> bool {
+        false
+    }
+
     /// Build a tool in `src/tools`
     ///
     /// This will build the specified tool with the specified `host` compiler in