about summary refs log tree commit diff
path: root/compiler/rustc_query_impl
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2025-07-07 05:04:39 +0000
committerbors <bors@rust-lang.org>2025-07-07 05:04:39 +0000
commitc720f49c46ec3e70bbc2bbb3e0dd1fe7fc0a47f2 (patch)
tree13fdaae0102dd2f0954c796bcd4cdf21be4d4a0d /compiler/rustc_query_impl
parent0d11be5aabe0cd49609fff5fce57c4691a22fe55 (diff)
parent5dc77ba6586ded662d4c5447da87a70d8a77651a (diff)
downloadrust-c720f49c46ec3e70bbc2bbb3e0dd1fe7fc0a47f2.tar.gz
rust-c720f49c46ec3e70bbc2bbb3e0dd1fe7fc0a47f2.zip
Auto merge of #143048 - Kobzol:bootstrap-check-stage-1, r=jieyouxu
Enforce in bootstrap that check must have stage at least 1

This PR is another step towards https://rust-lang.zulipchat.com/#narrow/channel/326414-t-infra.2Fbootstrap/topic/Proposal.20to.20cleanup.20stages.20and.20steps.20after.20the.20redesign/with/523586917, this time dealing with `x check`.

It enforces the invariant that:
- We check std stage N with rustc stage N
- We check everything else stage N with rustc stage N - 1

It creates a single function that prepares a proper build compiler for checking something, and also adds snapshot tests for various common check steps. Some obsolete code was also removed.

The default check stage also becomes 1, for all profiles. I tested manually that `x check std` with `download-ci-rustc` still works and doesn't build rustc locally.

Closes: https://github.com/rust-lang/rust/pull/139170

r? `@ghost`
Diffstat (limited to 'compiler/rustc_query_impl')
0 files changed, 0 insertions, 0 deletions