mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-02 07:22:42 +00:00
handle dry runs in dist::CodegenBackend
self.number_of_times_dry_runs_have_caused_issues += 1;
This commit is contained in:
parent
a9913ebed0
commit
451778b551
@ -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