Skip to content

Commit a3cf493

Browse files
committed
1 parent cd530fc commit a3cf493

File tree

1 file changed

+2
-1
lines changed
  • compiler/rustc_target/src/spec/base/apple

1 file changed

+2
-1
lines changed

compiler/rustc_target/src/spec/base/apple/mod.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,8 @@ fn ios_deployment_target(arch: Arch, abi: &str) -> (u32, u32) {
311311
// If you are looking for the default deployment target, prefer `rustc --print deployment-target`.
312312
let (major, minor) = match (arch, abi) {
313313
(Arm64e, _) => (14, 0),
314-
(_, "macabi") => (14, 0),
314+
// Mac Catalyst defaults to 13.1 in Clang.
315+
(_, "macabi") => (13, 1),
315316
_ => (10, 0),
316317
};
317318
from_set_deployment_target("IPHONEOS_DEPLOYMENT_TARGET").unwrap_or((major, minor))

0 commit comments

Comments
 (0)