Skip to content

Commit

Permalink
Temporarily avoid errors on RLS failure in parallel
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark-Simulacrum committed Feb 22, 2022
1 parent 95cf544 commit 07493dd
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/bootstrap/dist.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1023,6 +1023,12 @@ impl Step for Rls {
let rls = builder
.ensure(tool::Rls { compiler, target, extra_features: Vec::new() })
.or_else(|| {
if builder.config.rustc_parallel {
// FIXME: Disable RLS on parallel builds, cannot build due
// to upstream trouble. See
// https://github.com/racer-rust/racer/pull/1177.
return None;
}
missing_tool("RLS", builder.build.config.missing_tools);
None
})?;
Expand Down

0 comments on commit 07493dd

Please sign in to comment.