rust/src
bors e2cf31a614 Auto merge of #127120 - Kobzol:bootstrap-cmd-refactor-3, r=onur-ozkan
Bootstrap command refactoring: consolidate output modes (step 3)

This PR is a continuation to https://github.com/rust-lang/rust/pull/126731. It consolidates the output modes of bootstrap (`Print` vs `CaptureAll` vs `CaptureStdout`) and simplifies the logic around error printing (now a command error is always printed if the failure is not ignored). It also ports even more usages of `Command` to `BootstrapCommand`, most notably the git helpers and many usages of the `output` function.

The last commit was added because the third commit made two variants of the `Tool` enum unused (no idea why, but it seems to have been a false positive that they were used before).

It can be reviewed now, but I would wait with merging until at least a few days after https://github.com/rust-lang/rust/pull/126731, just to catch any potential issues from that PR before we move further.

As a next step, I want to clean up the API of the command a little bit to make usage easier (currently it's a bit verbose), and then continue with the rest of the tasks from the tracking issue.

As always, best reviewed commit by commit.

Tracking issue: https://github.com/rust-lang/rust/issues/126819

r? `@onur-ozkan`

try-job: aarch64-apple
2024-07-04 10:54:22 +00:00
..
bootstrap Do not consider LLDB version to be valid if it is empty 2024-07-04 10:10:30 +02:00
ci Change to the NetBSD archive URL rather than the CDN 2024-07-02 04:56:09 -04:00
doc Add documentation for -Zverbose-asm 2024-07-02 21:42:02 -04:00
etc Implement `x perf` as a separate tool 2024-06-27 10:22:03 +02:00
librustdoc Rollup merge of #127289 - aDotInTheVoid:rustdoc-json-lt, r=GuillaumeGomez 2024-07-04 04:09:51 -04:00
llvm-project@e6a6470d1e Update LLVM submodule 2024-07-01 06:03:08 +08:00
rustdoc-json-types rustdoc-json: Better representation of lifetime bounds in where clauses. 2024-07-03 20:00:56 +00:00
tools Rollup merge of #127289 - aDotInTheVoid:rustdoc-json-lt, r=GuillaumeGomez 2024-07-04 04:09:51 -04:00
README.md
stage0 bump stage0 compiler 2024-06-11 15:10:03 +02:00
version set version number to 1.81.0 2024-06-07 10:37:34 +02:00

README.md

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.