From b991118d6c8171c90acabdc013a28f787deb2bee Mon Sep 17 00:00:00 2001 From: Jake Goulding Date: Mon, 11 Aug 2025 18:40:03 -0400 Subject: [PATCH] Use aarch64-apple-darwin as the fallback doc source for `-apple-` We are moving away from `x86_64-apple-darwin`, so soon these docs won't be available. (cherry picked from commit 36a38206db1757dcf899644f758e6fc5a04141ad) --- src/tools/build-manifest/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tools/build-manifest/src/main.rs b/src/tools/build-manifest/src/main.rs index 4c53ea42793c..e10c9977fd4b 100644 --- a/src/tools/build-manifest/src/main.rs +++ b/src/tools/build-manifest/src/main.rs @@ -203,7 +203,7 @@ static TARGETS: &[&str] = &[ /// /// The order here matters, more specific entries should be first. static DOCS_FALLBACK: &[(&str, &str)] = &[ - ("-apple-", "x86_64-apple-darwin"), + ("-apple-", "aarch64-apple-darwin"), ("aarch64", "aarch64-unknown-linux-gnu"), ("arm-", "aarch64-unknown-linux-gnu"), ("", "x86_64-unknown-linux-gnu"),