Lower default Mac Catalyst deployment target to 13.1
Same default as Clang:
d022f32c73/clang/lib/Driver/ToolChains/Darwin.cpp (L2038)
This commit is contained in:
parent
cd530fccb3
commit
a3cf493642
@ -311,7 +311,8 @@ fn ios_deployment_target(arch: Arch, abi: &str) -> (u32, u32) {
|
||||
// If you are looking for the default deployment target, prefer `rustc --print deployment-target`.
|
||||
let (major, minor) = match (arch, abi) {
|
||||
(Arm64e, _) => (14, 0),
|
||||
(_, "macabi") => (14, 0),
|
||||
// Mac Catalyst defaults to 13.1 in Clang.
|
||||
(_, "macabi") => (13, 1),
|
||||
_ => (10, 0),
|
||||
};
|
||||
from_set_deployment_target("IPHONEOS_DEPLOYMENT_TARGET").unwrap_or((major, minor))
|
||||
|
Loading…
Reference in New Issue
Block a user