diff options
| author | Pietro Albini <pietro@pietroalbini.org> | 2025-07-13 12:38:21 +0200 |
|---|---|---|
| committer | Pietro Albini <pietro@pietroalbini.org> | 2025-07-28 11:05:01 +0200 |
| commit | f29f073f43f7cd2732a040bf2369d02c84239dc0 (patch) | |
| tree | 83258124c759f56ac35761511c6361b0e169361e /src/bootstrap | |
| parent | d242a8bd5a73f633ba1ec5aacf19acf35a3c747d (diff) | |
| download | rust-f29f073f43f7cd2732a040bf2369d02c84239dc0.tar.gz rust-f29f073f43f7cd2732a040bf2369d02c84239dc0.zip | |
add support for ./x check src/tools/linkchecker
Diffstat (limited to 'src/bootstrap')
| -rw-r--r-- | src/bootstrap/src/core/build_steps/check.rs | 6 | ||||
| -rw-r--r-- | src/bootstrap/src/core/builder/mod.rs | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/bootstrap/src/core/build_steps/check.rs b/src/bootstrap/src/core/build_steps/check.rs index cfe090b22dc..b4232409ba8 100644 --- a/src/bootstrap/src/core/build_steps/check.rs +++ b/src/bootstrap/src/core/build_steps/check.rs @@ -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 +}); diff --git a/src/bootstrap/src/core/builder/mod.rs b/src/bootstrap/src/core/builder/mod.rs index 923c3a9a935..020622d1c12 100644 --- a/src/bootstrap/src/core/builder/mod.rs +++ b/src/bootstrap/src/core/builder/mod.rs @@ -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. // |
