Skip to content

Commit 5784631

Browse files
committed
update the default macos version min to 10.14
1 parent 786f3cd commit 5784631

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src-self-hosted/link.zig

+1-1
Original file line numberDiff line numberDiff line change
@@ -670,7 +670,7 @@ const DarwinPlatform = struct {
670670
Compilation.DarwinVersionMin.None => blk: {
671671
assert(comp.target.getOs() == .macosx);
672672
result.kind = Kind.MacOS;
673-
break :blk "10.10";
673+
break :blk "10.14";
674674
},
675675
};
676676

src/codegen.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ static void init_darwin_native(CodeGen *g) {
4848
} else if (ios_target) {
4949
g->mios_version_min = buf_create_from_str(ios_target);
5050
} 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");
5252
}
5353
}
5454

src/link.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1474,7 +1474,7 @@ static void get_darwin_platform(LinkJob *lj, DarwinPlatform *platform) {
14741474
platform->kind = IPhoneOS;
14751475
} else if (g->zig_target->os == OsMacOSX) {
14761476
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");
14781478
} else {
14791479
zig_panic("unable to infer -mmacosx-version-min or -mios-version-min");
14801480
}

0 commit comments

Comments
 (0)