Skip to content

Commit b2d3220

Browse files
Mark-Simulacrumpietroalbini
authored andcommitted
Ignore failures of RLS on aarch64 Windows
1 parent e15d61c commit b2d3220

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
@@ -1021,7 +1021,13 @@ impl Step for Rls {
10211021
let rls = builder
10221022
.ensure(tool::Rls { compiler, target, extra_features: Vec::new() })
10231023
.or_else(|| {
1024-
missing_tool("RLS", builder.build.config.missing_tools);
1024+
// We ignore failure on aarch64 Windows because RLS currently
1025+
// fails to build, due to winapi 0.2 not supporting aarch64.
1026+
missing_tool(
1027+
"RLS",
1028+
builder.build.config.missing_tools
1029+
|| (target.triple.contains("aarch64") && target.triple.contains("windows")),
1030+
);
10251031
None
10261032
})?;
10271033

0 commit comments

Comments
 (0)