From be432747953a3dcdcda5d8191352fa784427e42c Mon Sep 17 00:00:00 2001 From: Rust Maintainers Date: Mon, 17 Jul 2017 12:41:59 +0100 Subject: [PATCH] u-only-run-linkchecker-if-docs Gbp-Pq: Name u-only-run-linkchecker-if-docs.patch --- src/bootstrap/step.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bootstrap/step.rs b/src/bootstrap/step.rs index 6b047c62d9..bfa1e4b6dd 100644 --- a/src/bootstrap/step.rs +++ b/src/bootstrap/step.rs @@ -460,7 +460,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") -- 2.30.2