Add gcc
to the build
commands list
This commit is contained in:
parent
9c165486d4
commit
cbef544596
2 changed files with 3 additions and 2 deletions
|
@ -85,7 +85,7 @@ impl Step for Gcc {
|
||||||
const ONLY_HOSTS: bool = true;
|
const ONLY_HOSTS: bool = true;
|
||||||
|
|
||||||
fn should_run(run: ShouldRun<'_>) -> ShouldRun<'_> {
|
fn should_run(run: ShouldRun<'_>) -> ShouldRun<'_> {
|
||||||
run.path("src/gcc")
|
run.path("src/gcc").alias("gcc")
|
||||||
}
|
}
|
||||||
|
|
||||||
fn make_run(run: RunConfig<'_>) {
|
fn make_run(run: RunConfig<'_>) {
|
||||||
|
|
|
@ -14,7 +14,7 @@ use clap::ValueEnum;
|
||||||
|
|
||||||
use crate::core::build_steps::tool::{self, SourceType};
|
use crate::core::build_steps::tool::{self, SourceType};
|
||||||
use crate::core::build_steps::{
|
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::flags::{Color, Subcommand};
|
||||||
use crate::core::config::{DryRun, SplitDebuginfo, TargetSelection};
|
use crate::core::config::{DryRun, SplitDebuginfo, TargetSelection};
|
||||||
|
@ -793,6 +793,7 @@ impl<'a> Builder<'a> {
|
||||||
tool::Clippy,
|
tool::Clippy,
|
||||||
tool::CargoClippy,
|
tool::CargoClippy,
|
||||||
llvm::Llvm,
|
llvm::Llvm,
|
||||||
|
gcc::Gcc,
|
||||||
llvm::Sanitizers,
|
llvm::Sanitizers,
|
||||||
tool::Rustfmt,
|
tool::Rustfmt,
|
||||||
tool::Miri,
|
tool::Miri,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue