rust/src
Stuart Cook 3ea1bab982
Rollup merge of #146929 - Zalathar:capture, r=Kobzol,jieyouxu
compiletest: Remove old-output-capture and become a stage0 bootstrap tool

The new compiletest output-capture system became the default in rust-lang/rust#146574, and no problems have been reported since.

This PR therefore removes the old output-capture implementation from compiletest, and adjusts bootstrap to always build and test compiletest as a stage0 bootstrap tool.

In other words, compiletest no longer relies on any unstable features (such as `libtest` or `internal_output_capture`), and is now written entirely in stable Rust!

The compiletest self-tests still need access to an in-tree rustc, in order to obtain information via `rustc --print`, so we interpret `--stage` as indicating the stage of that secondary compiler, but always use the stage0 compiler to build compiletest itself.

r? Kobzol
2025-09-29 11:56:41 +10:00
..
bootstrap Rollup merge of #146929 - Zalathar:capture, r=Kobzol,jieyouxu 2025-09-29 11:56:41 +10:00
build_helper Include additional hashes in src/stage0 2025-09-27 08:43:22 -04:00
ci Auto merge of #146513 - madsmtm:apple-reenable-assertions, r=Mark-Simulacrum 2025-09-28 21:40:04 +00:00
doc Rollup merge of #147081 - moturus:fix_md, r=workingjubilee 2025-09-28 09:15:27 +02:00
etc Add auto extra-checks in pre-push script 2025-09-27 17:39:06 +01:00
gcc@4e995bd73c Update GCC submodule 2025-08-26 18:09:42 +02:00
librustdoc Auto merge of #147002 - notriddle:stringdex3, r=GuillaumeGomez 2025-09-28 13:29:26 +00:00
llvm-project@8c30b9c509 Update LLVM to 21.1.2 2025-09-24 07:34:22 +08:00
rustc-std-workspace update rustc-std-workspace crates 2024-11-04 07:45:15 +01:00
rustdoc-json-types Add new doc(attribute = "...") attribute 2025-08-28 15:56:29 +02:00
tools Rollup merge of #146929 - Zalathar:capture, r=Kobzol,jieyouxu 2025-09-29 11:56:41 +10:00
README.md
stage0 Update stage0 per previous commmit 2025-09-27 08:45:40 -04:00
version Bump version to 1.92.0 2025-09-13 10:09:15 -04: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.