about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/declare.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-07-07 05:53:57 +0000
committerbors <bors@rust-lang.org>2024-07-07 05:53:57 +0000
commit35e6e4c5e9d3936df098d30750f28716740ea71b (patch)
tree42ea394cb400702a84c949e49e559f761b6643fa /compiler/rustc_codegen_llvm/src/declare.rs
parent9e27377bec1b0687cee90c27746d8e8d26f68bb4 (diff)
parent061edfe1fa02a194c94d3aadc3eb4ac579ba3bda (diff)
downloadrust-35e6e4c5e9d3936df098d30750f28716740ea71b.tar.gz
rust-35e6e4c5e9d3936df098d30750f28716740ea71b.zip
Auto merge of #127321 - Kobzol:bootstrap-cmd-refactor-4, r=onur-ozkan
Bootstrap command refactoring: quality-of-life improvements (step 4)

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

This PR simply introduce two new functions (`BootstrapCommand:run` and `command`) that make it a bit easier to use commands in bootstrap. It also adds several `#[must_use]` annotations. This shouldn't (hopefully) have any effect on behavior.

Especially the first commit IMO makes any code that runs commands more readable, and allows using the API in a fluent way, without needing to jump back and forth between the command and the `Build(er)`.

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

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