Skip to content

Commit c4aeccd

Browse files
Ignore failures of RLS on aarch64 Windows
1 parent 680c6ce commit c4aeccd

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
@@ -1033,7 +1033,13 @@ impl Step for Rls {
10331033
let rls = builder
10341034
.ensure(tool::Rls { compiler, target, extra_features: Vec::new() })
10351035
.or_else(|| {
1036-
missing_tool("RLS", builder.build.config.missing_tools);
1036+
// We ignore failure on aarch64 Windows because RLS currently
1037+
// fails to build, due to winapi 0.2 not supporting aarch64.
1038+
missing_tool(
1039+
"RLS",
1040+
builder.build.config.missing_tools
1041+
|| (target.triple.contains("aarch64") && target.triple.contains("windows")),
1042+
);
10371043
None
10381044
})?;
10391045

0 commit comments

Comments
 (0)