rust/src
bors a6620a45bd Auto merge of #145011 - Kobzol:bootstrap-doc, r=jieyouxu
Enforce in bootstrap that doc must have stage at least 1

Following with the bootstrap cleanups, this time around `doc` steps. Should be pretty straightforward, because the supporting infrastructure was already there.

The only thing I found a bit fishy is using `Mode::ToolBootstrap` as a "catch-all" mode for non-rustc-private steps in `tool_doc!`, but I don't think that we need to distinguish the tools in some special way when documenting them, apart from supporting `rustc_private`.

Before, `x doc` more or less defaulted to what we call stage 2 now. Now it is properly stage 1, so e.g. `x doc compiler` documents the compiler using the stage0/beta rust(do)c.

r? `@jieyouxu`

try-job: dist-aarch64-msvc
2025-08-11 06:00:52 +00:00
..
bootstrap Auto merge of #145011 - Kobzol:bootstrap-doc, r=jieyouxu 2025-08-11 06:00:52 +00:00
build_helper integrate build_helper::npm into js checks and package.json usage 2025-07-19 14:56:42 -05:00
ci Update doc CI steps stage 2 2025-08-10 11:39:07 +02:00
doc Rollup merge of #145135 - Kivooeo:stabilize-duration_constructors_lite, r=ChrisDenton 2025-08-10 19:45:51 +10:00
etc update completions 2025-07-19 14:52:31 -05:00
gcc@04ce66d8c9 Update src/gcc submodule to 04ce66d8c918de9273bd7101638ad8724edf5e21 2025-05-14 18:02:02 +02:00
librustdoc Rollup merge of #144739 - GuillaumeGomez:rustdoc-test-cleanup, r=fmease 2025-08-10 19:45:48 +10:00
llvm-project@d35840afa5 Update to LLVM 21 2025-08-01 10:17:04 +02:00
rustc-std-workspace update rustc-std-workspace crates 2024-11-04 07:45:15 +01:00
rustdoc-json-types rustdoc-json: Move #[macro_export] from Other to it's own variant 2025-07-30 19:57:32 +00:00
tools Rollup merge of #143949 - clarfonthey:const-arith-ops, r=Amanieu 2025-08-11 12:21:06 +10:00
README.md
stage0 bump stage0 2025-08-06 13:22:38 +01:00
version bump version 2025-08-01 09:04:01 +01: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.