authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2019-06-07 12:20:02-04:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2019-06-07 12:20:02-04:00
log5784631fab1fdcc4dcf9c04db11c4136d530413a
treee6321bd341c2f2de1a8f94a945fd37f647258310
parent786f3cdd135fa29906ec9b78155c03406f9e79ce
signaturelock-open Commit is signed but in an unrecognized format.

update the default macos version min to 10.14


3 files changed, 3 insertions(+), 3 deletions(-)

src-self-hosted/link.zig+1-1
...@@ -670,7 +670,7 @@ const DarwinPlatform = struct {...@@ -670,7 +670,7 @@ const DarwinPlatform = struct {
670 Compilation.DarwinVersionMin.None => blk: {670 Compilation.DarwinVersionMin.None => blk: {
671 assert(comp.target.getOs() == .macosx);671 assert(comp.target.getOs() == .macosx);
672 result.kind = Kind.MacOS;672 result.kind = Kind.MacOS;
673 break :blk "10.10";673 break :blk "10.14";
674 },674 },
675 };675 };
676676
src/codegen.cpp+1-1
...@@ -48,7 +48,7 @@ static void init_darwin_native(CodeGen *g) {...@@ -48,7 +48,7 @@ static void init_darwin_native(CodeGen *g) {
48 } else if (ios_target) {48 } else if (ios_target) {
49 g->mios_version_min = buf_create_from_str(ios_target);49 g->mios_version_min = buf_create_from_str(ios_target);
50 } else if (g->zig_target->os != OsIOS) {50 } else if (g->zig_target->os != OsIOS) {
51 g->mmacosx_version_min = buf_create_from_str("10.10");51 g->mmacosx_version_min = buf_create_from_str("10.14");
52 }52 }
53}53}
5454
src/link.cpp+1-1
...@@ -1474,7 +1474,7 @@ static void get_darwin_platform(LinkJob *lj, DarwinPlatform *platform) {...@@ -1474,7 +1474,7 @@ static void get_darwin_platform(LinkJob *lj, DarwinPlatform *platform) {
1474 platform->kind = IPhoneOS;1474 platform->kind = IPhoneOS;
1475 } else if (g->zig_target->os == OsMacOSX) {1475 } else if (g->zig_target->os == OsMacOSX) {
1476 platform->kind = MacOS;1476 platform->kind = MacOS;
1477 g->mmacosx_version_min = buf_create_from_str("10.10");1477 g->mmacosx_version_min = buf_create_from_str("10.14");
1478 } else {1478 } else {
1479 zig_panic("unable to infer -mmacosx-version-min or -mios-version-min");1479 zig_panic("unable to infer -mmacosx-version-min or -mios-version-min");
1480 }1480 }