diff --git a/src/main/java/com/google/devtools/build/lib/rules/apple/ApplePlatform.java b/src/main/java/com/google/devtools/build/lib/rules/apple/ApplePlatform.java index a050bbd4fcfd5f..70bb1e79d2bfd8 100644 --- a/src/main/java/com/google/devtools/build/lib/rules/apple/ApplePlatform.java +++ b/src/main/java/com/google/devtools/build/lib/rules/apple/ApplePlatform.java @@ -55,7 +55,7 @@ public enum ApplePlatform implements ApplePlatformApi { private static final ImmutableSet TVOS_DEVICE_TARGET_CPUS = ImmutableSet.of("tvos_arm64"); private static final ImmutableSet CATALYST_TARGET_CPUS = - ImmutableSet.of("catalyst_x86_64"); + ImmutableSet.of("catalyst_x86_64", "catalyst_arm64"); // "darwin" is included because that's currently the default when on macOS, and // migrating it would be a breaking change more details: // https://github.com/bazelbuild/bazel/pull/7062 diff --git a/src/main/java/com/google/devtools/build/lib/starlarkbuildapi/apple/ApplePlatformApi.java b/src/main/java/com/google/devtools/build/lib/starlarkbuildapi/apple/ApplePlatformApi.java index 15908e12a70e42..cb1b7cb7d101c9 100644 --- a/src/main/java/com/google/devtools/build/lib/starlarkbuildapi/apple/ApplePlatformApi.java +++ b/src/main/java/com/google/devtools/build/lib/starlarkbuildapi/apple/ApplePlatformApi.java @@ -33,6 +33,7 @@ + " href='apple_common.html#platform'>apple_common.platform struct: