about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJake Goulding <jake.goulding@gmail.com>2025-08-11 18:40:03 -0400
committerJosh Stone <jistone@redhat.com>2025-08-21 08:46:29 -0700
commitb991118d6c8171c90acabdc013a28f787deb2bee (patch)
treee3397fa5d818437858d4429f3b3c4cc5e82e1441
parent3c3c140d8a85dacca44241ea4fdfa0cf5ee1960b (diff)
downloadrust-b991118d6c8171c90acabdc013a28f787deb2bee.tar.gz
rust-b991118d6c8171c90acabdc013a28f787deb2bee.zip
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)
-rw-r--r--src/tools/build-manifest/src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/build-manifest/src/main.rs b/src/tools/build-manifest/src/main.rs
index 4c53ea42793..e10c9977fd4 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"),