about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-10-21 07:01:36 +0200
committerGitHub <noreply@github.com>2024-10-21 07:01:36 +0200
commit09a22b86726ba529d38241cf50488c29c69879e8 (patch)
tree9e680b5dcf5ac243dc1c8a29425be4aee18d2f92 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent9ff4dab39689829994cee9be4c83fd1c16d209f3 (diff)
parent2b4bf2dbb06a47a01ccea4f55bdb9990a911c0fc (diff)
downloadrust-09a22b86726ba529d38241cf50488c29c69879e8.tar.gz
rust-09a22b86726ba529d38241cf50488c29c69879e8.zip
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.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions