diff options
| author | Joshua Nelson <jyn514@gmail.com> | 2021-05-01 01:37:26 -0400 |
|---|---|---|
| committer | Joshua Nelson <jyn514@gmail.com> | 2021-05-01 01:38:45 -0400 |
| commit | 3b4b1eab90e6eaed8118ff2eef11fe7ddd9fe555 (patch) | |
| tree | 48730c5a6c55fef87063aa0476bf46276de5b414 /src/bootstrap | |
| parent | b52769b804a12b7045ee1bce893a64045cdb974a (diff) | |
| download | rust-3b4b1eab90e6eaed8118ff2eef11fe7ddd9fe555.tar.gz rust-3b4b1eab90e6eaed8118ff2eef11fe7ddd9fe555.zip | |
Don't check bootstrap artifacts by default
Bootstrap has to build successfully or this won't run, so all it checks are the tests, which are uncommon to change.
Diffstat (limited to 'src/bootstrap')
| -rw-r--r-- | src/bootstrap/check.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bootstrap/check.rs b/src/bootstrap/check.rs index 9b76c8b9a2d..8561a2a39b8 100644 --- a/src/bootstrap/check.rs +++ b/src/bootstrap/check.rs @@ -280,7 +280,7 @@ impl Step for CodegenBackend { } macro_rules! tool_check_step { - ($name:ident, $path:literal, $($alias:literal, )* $source_type:path) => { + ($name:ident, $path:literal, $($alias:literal, )* $source_type:path $(, $default:literal )?) => { #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] pub struct $name { pub target: TargetSelection, @@ -289,7 +289,7 @@ macro_rules! tool_check_step { impl Step for $name { type Output = (); const ONLY_HOSTS: bool = true; - const DEFAULT: bool = true; + const DEFAULT: bool = true $( && $default )?; fn should_run(run: ShouldRun<'_>) -> ShouldRun<'_> { run.paths(&[ $path, $($alias),* ]) @@ -368,7 +368,7 @@ tool_check_step!(Rustdoc, "src/tools/rustdoc", "src/librustdoc", SourceType::InT // rejected. tool_check_step!(Clippy, "src/tools/clippy", SourceType::InTree); -tool_check_step!(Bootstrap, "src/bootstrap", SourceType::InTree); +tool_check_step!(Bootstrap, "src/bootstrap", SourceType::InTree, false); /// Cargo's output path for the standard library in a given stage, compiled /// by a particular compiler for the specified target. |
