Ignore failures of RLS on aarch64 Windows

This commit is contained in:
Mark Rousskov 2020-11-17 16:00:41 -05:00
parent 77d13f578a
commit 9157430d62
1 changed files with 7 additions and 1 deletions

View File

@ -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
})?;