Skip to content

Commit cbef544

Browse files
Add gcc to the build commands list
1 parent 9c16548 commit cbef544

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/bootstrap/src/core/build_steps/gcc.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ impl Step for Gcc {
8585
const ONLY_HOSTS: bool = true;
8686

8787
fn should_run(run: ShouldRun<'_>) -> ShouldRun<'_> {
88-
run.path("src/gcc")
88+
run.path("src/gcc").alias("gcc")
8989
}
9090

9191
fn make_run(run: RunConfig<'_>) {

src/bootstrap/src/core/builder.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ use clap::ValueEnum;
1414

1515
use crate::core::build_steps::tool::{self, SourceType};
1616
use crate::core::build_steps::{
17-
check, clean, clippy, compile, dist, doc, install, llvm, run, setup, test, vendor,
17+
check, clean, clippy, compile, dist, doc, gcc, install, llvm, run, setup, test, vendor,
1818
};
1919
use crate::core::config::flags::{Color, Subcommand};
2020
use crate::core::config::{DryRun, SplitDebuginfo, TargetSelection};
@@ -793,6 +793,7 @@ impl<'a> Builder<'a> {
793793
tool::Clippy,
794794
tool::CargoClippy,
795795
llvm::Llvm,
796+
gcc::Gcc,
796797
llvm::Sanitizers,
797798
tool::Rustfmt,
798799
tool::Miri,

0 commit comments

Comments
 (0)