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.
This commit is contained in:
Jake Goulding 2025-08-11 18:40:03 -04:00
parent ba412a6e70
commit 36a38206db

View file

@ -205,7 +205,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"),