Skip to content

Commit 9157430

Browse files
Ignore failures of RLS on aarch64 Windows
1 parent 77d13f5 commit 9157430

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
@@ -1029,7 +1029,13 @@ impl Step for Rls {
10291029
let rls = builder
10301030
.ensure(tool::Rls { compiler, target, extra_features: Vec::new() })
10311031
.or_else(|| {
1032-
missing_tool("RLS", builder.build.config.missing_tools);
1032+
// We ignore failure on aarch64 Windows because RLS currently
1033+
// fails to build, due to winapi 0.2 not supporting aarch64.
1034+
missing_tool(
1035+
"RLS",
1036+
builder.build.config.missing_tools
1037+
|| (target.triple.contains("aarch64") && target.triple.contains("windows")),
1038+
);
10331039
None
10341040
})?;
10351041

0 commit comments

Comments
 (0)