about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-07-16 06:12:12 +0000
committerbors <bors@rust-lang.org>2024-07-16 06:12:12 +0000
commit2823cfb1e5fb0cfa9b2ef13c4b9dcef5b979ebd1 (patch)
treec1229a38d8dfc3628c046878adbcd1cb2014828e /compiler/rustc_codegen_llvm/src
parent5c8488605624d67b272953bc21d41db60dbd5654 (diff)
parent7a5411757124b3cdc4aff5ea86cbe91f5e58a618 (diff)
downloadrust-2823cfb1e5fb0cfa9b2ef13c4b9dcef5b979ebd1.tar.gz
rust-2823cfb1e5fb0cfa9b2ef13c4b9dcef5b979ebd1.zip
Auto merge of #127680 - Kobzol:bootstrap-cmd-refactor-6, r=onur-ozkan
Bootstrap command refactoring: port remaining commands with access to `Build` (step 6)

Continuation of https://github.com/rust-lang/rust/pull/127450.

This PR ports commands in bootstrap that can easily get access to `Build(er)` to `BootstrapCommand`. After this PR, everything that can access `Build(er)` should be using the new API.

Statistics of `bootstrap` code (ignoring `src/bin/<shims>`) after this PR:
```
7 usages of `Command::new`
69 usages of `command()` (new API)
 - out of that: 16 usages of `as_command_mut()` (new API, but accesses the inner command)
```

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

r? `@onur-ozkan`
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions