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 Nov 17, 2020
1 parent 6142bf6 commit 7477867
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/bootstrap/dist.rs
Expand Up @@ -1336,7 +1336,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 7477867

Please sign in to comment.