mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
handle dry runs in dist::CodegenBackend
self.number_of_times_dry_runs_have_caused_issues += 1;
This commit is contained in:
parent
aefd7ace91
commit
f656accdf5
@ -1298,6 +1298,10 @@ impl Step for CodegenBackend {
|
||||
}
|
||||
|
||||
fn run(self, builder: &Builder<'_>) -> Option<GeneratedTarball> {
|
||||
if builder.config.dry_run() {
|
||||
return None;
|
||||
}
|
||||
|
||||
// This prevents rustc_codegen_cranelift from being built for "dist"
|
||||
// or "install" on the stable/beta channels. It is not yet stable and
|
||||
// should not be included.
|
||||
|
Loading…
Reference in New Issue
Block a user