add support for ./x check src/tools/linkchecker

This commit is contained in:
Pietro Albini 2025-07-13 12:38:21 +02:00
parent d242a8bd5a
commit f29f073f43
2 changed files with 7 additions and 0 deletions

View file

@ -556,3 +556,9 @@ tool_check_step!(Compiletest {
allow_features: COMPILETEST_ALLOW_FEATURES,
default: false,
});
tool_check_step!(Linkchecker {
path: "src/tools/linkchecker",
mode: |_builder| Mode::ToolBootstrap,
default: false
});

View file

@ -1033,6 +1033,7 @@ impl<'a> Builder<'a> {
check::Compiletest,
check::FeaturesStatusDump,
check::CoverageDump,
check::Linkchecker,
// This has special staging logic, it may run on stage 1 while others run on stage 0.
// It takes quite some time to build stage 1, so put this at the end.
//