update the default macos version min to 10.14

master
Andrew Kelley 2019-06-07 12:20:02 -04:00
parent 786f3cdd13
commit 5784631fab
No known key found for this signature in database
GPG Key ID: 7C5F548F728501A9
3 changed files with 3 additions and 3 deletions

View File

@ -670,7 +670,7 @@ const DarwinPlatform = struct {
Compilation.DarwinVersionMin.None => blk: {
assert(comp.target.getOs() == .macosx);
result.kind = Kind.MacOS;
break :blk "10.10";
break :blk "10.14";
},
};

View File

@ -48,7 +48,7 @@ static void init_darwin_native(CodeGen *g) {
} else if (ios_target) {
g->mios_version_min = buf_create_from_str(ios_target);
} else if (g->zig_target->os != OsIOS) {
g->mmacosx_version_min = buf_create_from_str("10.10");
g->mmacosx_version_min = buf_create_from_str("10.14");
}
}

View File

@ -1474,7 +1474,7 @@ static void get_darwin_platform(LinkJob *lj, DarwinPlatform *platform) {
platform->kind = IPhoneOS;
} else if (g->zig_target->os == OsMacOSX) {
platform->kind = MacOS;
g->mmacosx_version_min = buf_create_from_str("10.10");
g->mmacosx_version_min = buf_create_from_str("10.14");
} else {
zig_panic("unable to infer -mmacosx-version-min or -mios-version-min");
}