Add gcc to the build commands list

This commit is contained in:
Guillaume Gomez 2024-08-14 15:00:39 +02:00
parent 9c165486d4
commit cbef544596
2 changed files with 3 additions and 2 deletions

View File

@ -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<'_>) {

View File

@ -14,7 +14,7 @@
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 @@ macro_rules! describe {
tool::Clippy,
tool::CargoClippy,
llvm::Llvm,
gcc::Gcc,
llvm::Sanitizers,
tool::Rustfmt,
tool::Miri,