1
Fork 0

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.
This commit is contained in:
Eric Huss 2025-01-13 10:10:40 -08:00
parent b3ba4de8b2
commit 75f3ebdc1e

View file

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