rust/src
bors c720f49c46 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`
2025-07-07 05:04:39 +00:00
..
bootstrap Do not ever cross-check bootstrap tools 2025-07-06 17:25:19 +02:00
build_helper Improve error message for rustdoc_json_types tidy check 2025-06-20 16:22:05 +02:00
ci Fix CI 2025-07-06 17:25:19 +02:00
doc remove armv5te-unknown-linux-gnueabi target maintainer 2025-07-05 13:24:24 +02:00
etc Update completions 2025-07-04 22:10:02 +02:00
gcc@04ce66d8c9 Update src/gcc submodule to 04ce66d8c918de9273bd7101638ad8724edf5e21 2025-05-14 18:02:02 +02:00
librustdoc Rollup merge of #143544 - workingjubilee:rename-bare-fn, r=fmease 2025-07-07 03:26:09 +02:00
llvm-project@9b1bf4cf04 Update LLVM submodule 2025-07-04 23:05:40 +08:00
rustc-std-workspace
rustdoc-json-types Port #[no_mangle] to new attribute parsing infrastructure 2025-06-22 22:17:04 +02:00
tools Auto merge of #143556 - jhpratt:rollup-nid39y2, r=jhpratt 2025-07-07 02:03:03 +00:00
README.md
stage0 Update stage0 to 1.89.0-beta.1 2025-07-01 10:54:33 -07:00
version Bump the version number to 1.90.0 2025-06-20 10:08:52 -07:00

This directory contains some source code for the Rust project, including:

  • The bootstrapping build system
  • Various submodules for tools, like cargo, tidy, etc.

For more information on how various parts of the compiler work, see the rustc dev guide.