diff options
| author | Ximin Luo <infinity0@pwned.gg> | 2017-06-15 13:25:15 +0200 |
|---|---|---|
| committer | Ximin Luo <infinity0@pwned.gg> | 2017-06-15 13:25:15 +0200 |
| commit | 13b1a80505c7497cddadfa4fbed93f0d69ddeca5 (patch) | |
| tree | a970085eac0d3e919b345362b00b77835e736f5e /src | |
| parent | 62c245281c9e988cf5eb7cffa15f0dd2ce3b54cf (diff) | |
| download | rust-13b1a80505c7497cddadfa4fbed93f0d69ddeca5.tar.gz rust-13b1a80505c7497cddadfa4fbed93f0d69ddeca5.zip | |
Only run check-linkchecker when actually building docs
Otherwise the build fails, when running tests but not building docs, e.g.: https://buildd.debian.org/status/fetch.php?pkg=rustc&arch=ppc64el&ver=1.17.0%2Bdfsg2-3&stamp=1497403375&raw=0
Diffstat (limited to 'src')
| -rw-r--r-- | src/bootstrap/step.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bootstrap/step.rs b/src/bootstrap/step.rs index ca829cc5668..8c366200267 100644 --- a/src/bootstrap/step.rs +++ b/src/bootstrap/step.rs @@ -463,7 +463,7 @@ pub fn build_rules<'a>(build: &'a Build) -> Rules { rules.test("check-linkchecker", "src/tools/linkchecker") .dep(|s| s.name("tool-linkchecker").stage(0)) .dep(|s| s.name("default:doc")) - .default(true) + .default(build.config.docs) .host(true) .run(move |s| check::linkcheck(build, s.target)); rules.test("check-cargotest", "src/tools/cargotest") |
