Skip to content

Commit 7477867

Browse files
Ignore failures of RLS on aarch64 Windows
1 parent 6142bf6 commit 7477867

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/bootstrap/dist.rs

+7-1
Original file line numberDiff line numberDiff line change
@@ -1336,7 +1336,13 @@ impl Step for Rls {
13361336
let rls = builder
13371337
.ensure(tool::Rls { compiler, target, extra_features: Vec::new() })
13381338
.or_else(|| {
1339-
missing_tool("RLS", builder.build.config.missing_tools);
1339+
// We ignore failure on aarch64 Windows because RLS currently
1340+
// fails to build, due to winapi 0.2 not supporting aarch64.
1341+
missing_tool(
1342+
"RLS",
1343+
builder.build.config.missing_tools
1344+
|| (target.triple.contains("aarch64") && target.triple.contains("windows")),
1345+
);
13401346
None
13411347
})?;
13421348

0 commit comments

Comments
 (0)