Skip to content

Commit

Permalink
Ignore failures of RLS on aarch64 Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark-Simulacrum committed Mar 24, 2021
1 parent 77d13f5 commit 9157430
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/bootstrap/dist.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1029,7 +1029,13 @@ impl Step for Rls {
let rls = builder
.ensure(tool::Rls { compiler, target, extra_features: Vec::new() })
.or_else(|| {
missing_tool("RLS", builder.build.config.missing_tools);
// We ignore failure on aarch64 Windows because RLS currently
// fails to build, due to winapi 0.2 not supporting aarch64.
missing_tool(
"RLS",
builder.build.config.missing_tools
|| (target.triple.contains("aarch64") && target.triple.contains("windows")),
);
None
})?;

Expand Down

0 comments on commit 9157430

Please sign in to comment.