Skip to content

Commit 75f3ebd

Browse files
committed
Mark rustbook as an external tool
It has been a bit of a pain trying to keep the lints in sync across the submodule repositories, so the just turns it off.
1 parent b3ba4de commit 75f3ebd

File tree

1 file changed

+5
-1
lines changed
  • src/bootstrap/src/core/build_steps

1 file changed

+5
-1
lines changed

src/bootstrap/src/core/build_steps/tool.rs

+5-1
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,11 @@ macro_rules! bootstrap_tool {
334334
}
335335

336336
bootstrap_tool!(
337-
Rustbook, "src/tools/rustbook", "rustbook", submodules = SUBMODULES_FOR_RUSTBOOK;
337+
// This is marked as an external tool because it includes dependencies
338+
// from submodules. Trying to keep the lints in sync between all the repos
339+
// is a bit of a pain. Unfortunately it means the rustbook source itself
340+
// doesn't deny warnings, but it is a relatively small piece of code.
341+
Rustbook, "src/tools/rustbook", "rustbook", is_external_tool = true, submodules = SUBMODULES_FOR_RUSTBOOK;
338342
UnstableBookGen, "src/tools/unstable-book-gen", "unstable-book-gen";
339343
Tidy, "src/tools/tidy", "tidy";
340344
Linkchecker, "src/tools/linkchecker", "linkchecker";

0 commit comments

Comments
 (0)