Rollup merge of #114415 - Kobzol:bootstrap-check-vendor-gcc, r=ozkanonur
Skip checking of `rustc_codegen_gcc` with vendoring enabled `rustc_codegen_gcc` currently cannot be vendored, which [breaks](https://github.com/rust-lang/rust/issues/112393) `x.py check` with vendoring enabled. Until the vendoring issue is resolved, it would be nice if `x.py check` could succeed (and just skip `gcc`) with `vendor = true`. With this PR, it does. Related issue: https://github.com/rust-lang/rust/issues/112393 r? bootstrap
This commit is contained in:
commit
c0c911b697
@ -307,6 +307,12 @@ fn make_run(run: RunConfig<'_>) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fn run(self, builder: &Builder<'_>) {
|
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 compiler = builder.compiler(builder.top_stage, builder.config.build);
|
||||||
let target = self.target;
|
let target = self.target;
|
||||||
let backend = self.backend;
|
let backend = self.backend;
|
||||||
|
Loading…
Reference in New Issue
Block a user