diff options
| author | Mark Simulacrum <mark.simulacrum@gmail.com> | 2017-07-18 18:03:38 -0600 |
|---|---|---|
| committer | Mark Simulacrum <mark.simulacrum@gmail.com> | 2017-07-20 11:24:37 -0600 |
| commit | 56128fb3acdbb40876d1fc8aee613792ebef3080 (patch) | |
| tree | c8753059843a319610a541faa01b990a0aac6e0f /src/bootstrap/install.rs | |
| parent | bca1e2ffd1658e800e15e730dee5d6cc02722270 (diff) | |
| download | rust-56128fb3acdbb40876d1fc8aee613792ebef3080.tar.gz rust-56128fb3acdbb40876d1fc8aee613792ebef3080.zip | |
Implement available paths list.
Diffstat (limited to 'src/bootstrap/install.rs')
| -rw-r--r-- | src/bootstrap/install.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bootstrap/install.rs b/src/bootstrap/install.rs index 6b6160f43ca..fac69f89dc1 100644 --- a/src/bootstrap/install.rs +++ b/src/bootstrap/install.rs @@ -20,7 +20,7 @@ use std::process::Command; use dist::{self, pkgname, sanitize_sh, tmpdir}; -use builder::{Builder, Step}; +use builder::{Builder, ShouldRun, Step}; use cache::Interned; pub fn install_docs(builder: &Builder, stage: u32, host: Interned<String>) { @@ -149,8 +149,8 @@ macro_rules! install { const ONLY_HOSTS: bool = $only_hosts; $(const $c: bool = true;)* - fn should_run(_builder: &Builder, path: &Path) -> bool { - path.ends_with($path) + fn should_run(run: ShouldRun) -> ShouldRun { + run.path($path) } fn make_run( |
