Skip to content

Commit

Permalink
Skip checking of rustc_codegen_gcc with vendoring enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
Kobzol committed Aug 3, 2023
1 parent 2e6ac7f commit c6232b1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/bootstrap/check.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit c6232b1

Please sign in to comment.