diff options
| author | Guillaume Gomez <guillaume.gomez@huawei.com> | 2024-08-14 15:00:39 +0200 |
|---|---|---|
| committer | Guillaume Gomez <guillaume.gomez@huawei.com> | 2024-09-06 16:01:47 +0200 |
| commit | cbef544596cfe66062a0763cc23cf96be0901a87 (patch) | |
| tree | d9a677c4c2d8c867e35506e180e8112d4f767baa | |
| parent | 9c165486d4bddc813e2e99495b7577d77dc6178f (diff) | |
Add `gcc` to the `build` commands list
| -rw-r--r-- | src/bootstrap/src/core/build_steps/gcc.rs | 2 | ||||
| -rw-r--r-- | src/bootstrap/src/core/builder.rs | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/bootstrap/src/core/build_steps/gcc.rs b/src/bootstrap/src/core/build_steps/gcc.rs index 21cb05898eb..1ddf2e64223 100644 --- a/src/bootstrap/src/core/build_steps/gcc.rs +++ b/src/bootstrap/src/core/build_steps/gcc.rs @@ -85,7 +85,7 @@ impl Step for Gcc { const ONLY_HOSTS: bool = true; fn should_run(run: ShouldRun<'_>) -> ShouldRun<'_> { - run.path("src/gcc") + run.path("src/gcc").alias("gcc") } fn make_run(run: RunConfig<'_>) { diff --git a/src/bootstrap/src/core/builder.rs b/src/bootstrap/src/core/builder.rs index a28b19d33a6..2b5b8ecceab 100644 --- a/src/bootstrap/src/core/builder.rs +++ b/src/bootstrap/src/core/builder.rs @@ -14,7 +14,7 @@ use clap::ValueEnum; use crate::core::build_steps::tool::{self, SourceType}; use crate::core::build_steps::{ - check, clean, clippy, compile, dist, doc, install, llvm, run, setup, test, vendor, + check, clean, clippy, compile, dist, doc, gcc, install, llvm, run, setup, test, vendor, }; use crate::core::config::flags::{Color, Subcommand}; use crate::core::config::{DryRun, SplitDebuginfo, TargetSelection}; @@ -793,6 +793,7 @@ impl<'a> Builder<'a> { tool::Clippy, tool::CargoClippy, llvm::Llvm, + gcc::Gcc, llvm::Sanitizers, tool::Rustfmt, tool::Miri, |
