Skip to content

Commit 136801e

Browse files
Ignore failures of RLS on aarch64 Windows
1 parent cbeda5c commit 136801e

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

src/bootstrap/dist.rs

+9-1
Original file line numberDiff line numberDiff line change
@@ -1033,7 +1033,15 @@ 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+
//
1039+
// FIXME(#86606): we shouldn't be failing to build RLS.
1040+
missing_tool(
1041+
"RLS",
1042+
builder.build.config.missing_tools
1043+
|| (target.triple.contains("aarch64") && target.triple.contains("windows")),
1044+
);
10371045
None
10381046
})?;
10391047

0 commit comments

Comments
 (0)