Skip to content

Commit c1c2d85

Browse files
committed
bootstrap: Allow ./x check compiletest
1 parent 8b3f7ac commit c1c2d85

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/bootstrap/src/core/build_steps/check.rs

+3
Original file line numberDiff line numberDiff line change
@@ -501,6 +501,9 @@ tool_check_step!(
501501
);
502502

503503
tool_check_step!(Bootstrap, "bootstrap", "src/bootstrap", SourceType::InTree, false);
504+
// Compiletest is implicitly "checked" when it gets built in order to run tests,
505+
// so this is mainly for people working on compiletest to run locally.
506+
tool_check_step!(Compiletest, "compiletest", "src/tools/compiletest", SourceType::InTree, false);
504507

505508
/// Cargo's output path for the standard library in a given stage, compiled
506509
/// by a particular compiler for the specified target.

src/bootstrap/src/core/builder/mod.rs

+1
Original file line numberDiff line numberDiff line change
@@ -905,6 +905,7 @@ impl<'a> Builder<'a> {
905905
check::RustAnalyzer,
906906
check::TestFloatParse,
907907
check::Bootstrap,
908+
check::Compiletest,
908909
),
909910
Kind::Test => describe!(
910911
crate::core::build_steps::toolstate::ToolStateCheck,

0 commit comments

Comments
 (0)