Skip checking of rustc_codegen_gcc with vendoring enabled

This commit is contained in:
Jakub Beránek 2023-08-03 15:39:37 +02:00
parent 2e6ac7fe5b
commit c6232b14fd
No known key found for this signature in database
GPG Key ID: 909CD0D26483516B

View File

@ -307,6 +307,12 @@ impl Step for CodegenBackend {
}
fn run(self, builder: &Builder<'_>) {
// FIXME: remove once https://github.com/rust-lang/rust/issues/112393 is resolved
if builder.build.config.vendor && &self.backend == "gcc" {
println!("Skipping checking of `rustc_codegen_gcc` with vendoring enabled.");
return;
}
let compiler = builder.compiler(builder.top_stage, builder.config.build);
let target = self.target;
let backend = self.backend;