rust/src
Matthias Krüger 09a22b8672
Rollup merge of #131728 - jieyouxu:boopstrap, r=onur-ozkan
bootstrap: extract builder cargo to its own module

I was looking at our cargo rustflags/rustdocflags usages, and I found `builder.rs` to be a large
file which made it hard to digest. This PR tries to break out the cargo command wrapper parts to
its own submodule to make it easier to identify builder cargo-specific logic.

This PR:

- Extracts the cargo command wrapper to its own module and also move `Builder::{bare_,}cargo` impl
  to the submodule.
- Reorganizes some imports in `lib.rs` (no functional changes).
- Slightly adjusts some docs in `builder.rs`.

This PR is basically just moving code around, and should not contain any functional changes.

Before this PR, `builder.rs` was 2743 lines. After this PR, `builder.rs` is down to a more
manageable 1386 lines and `cargo.rs` is 1085 lines.
2024-10-21 07:01:36 +02:00
..
bootstrap bootstrap: move builder.rs under builder/ directory 2024-10-21 10:34:31 +08:00
ci Auto merge of #120869 - devnexen:update_fbsd_ci, r=Mark-Simulacrum 2024-10-21 00:13:09 +00:00
doc Auto merge of #120869 - devnexen:update_fbsd_ci, r=Mark-Simulacrum 2024-10-21 00:13:09 +00:00
etc Rollup merge of #131365 - heiseish:fix-issue-101993, r=Mark-Simulacrum 2024-10-20 16:54:09 +02:00
gcc@fd3498bff0 Update GCC version 2024-09-06 16:01:46 +02:00
librustdoc Auto merge of #131957 - GuillaumeGomez:rm-unused, r=notriddle 2024-10-20 05:58:20 +00:00
llvm-project@3a17f74904 Update LLVM submodule 2024-10-12 21:42:13 +08:00
rustdoc-json-types Auto merge of #131980 - matthiaskrgr:rollup-iy5nw71, r=matthiaskrgr 2024-10-20 21:40:21 +00:00
tools Auto merge of #131980 - matthiaskrgr:rollup-iy5nw71, r=matthiaskrgr 2024-10-20 21:40:21 +00:00
README.md
stage0 bump stage0 to 1.83.0-beta.1 2024-10-15 20:13:55 -07:00
version Bump to 1.84 2024-10-11 09:55:11 -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.