Skip to content

Commit bded701

Browse files
committed
run check::Std as the final step
Signed-off-by: onur-ozkan <work@onurozkan.dev>
1 parent 792fc2b commit bded701

File tree

1 file changed

+7
-1
lines changed
  • src/bootstrap/src/core/builder

1 file changed

+7
-1
lines changed

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

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -945,7 +945,6 @@ impl<'a> Builder<'a> {
945945
clippy::CI,
946946
),
947947
Kind::Check | Kind::Fix => describe!(
948-
check::Std,
949948
check::Rustc,
950949
check::Rustdoc,
951950
check::CodegenBackend,
@@ -961,6 +960,13 @@ impl<'a> Builder<'a> {
961960
check::Compiletest,
962961
check::FeaturesStatusDump,
963962
check::CoverageDump,
963+
// This has special staging logic, it may run on stage 1 while others run on stage 0.
964+
// It takes quite some time to build stage 1, so put this at the end.
965+
//
966+
// FIXME: This also helps bootstrap to not interfere with stage 0 builds. We should probably fix
967+
// that issue somewhere else, but we still want to keep `check::Std` at the end so that the
968+
// quicker steps run before this.
969+
check::Std,
964970
),
965971
Kind::Test => describe!(
966972
crate::core::build_steps::toolstate::ToolStateCheck,

0 commit comments

Comments
 (0)