Skip to content

Commit

Permalink
[build] Bump minimum macOS version to 10.13
Browse files Browse the repository at this point in the history
macOS 12 (released 2021) is now EOL, and Mac developers generally update to the
latest OS version quickly.
As a side effect, this implicitly enables the chained fixups linker feature,
which improves binary launch times and reduces workerd release binary size by
~65 KB (See https://www.emergetools.com/blog/posts/iOS15LaunchTime for more
information).
  • Loading branch information
fhanau committed Sep 23, 2024
1 parent 93953ae commit cc5c6e1
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -201,10 +201,9 @@ build:unix --cxxopt='-Wno-ignored-qualifiers' --host_cxxopt='-Wno-ignored-qualif
build:linux --config=unix
build:macos --config=unix

# Support macOS 11 as the minimum version. There should be at least a warning when backward
# Support macOS 13 as the minimum version. There should be at least a warning when backward
# compatibility is broken as -Wunguarded-availability-new is enabled by default.
# TODO (cleanup): macOS 11.X is now EOL, bump this to macOS 12.5 soon.
build:macos --macos_minimum_os=11.5 --host_macos_minimum_os=11.5
build:macos --macos_minimum_os=13.5 --host_macos_minimum_os=13.5

# Avoid emitting duplicate unwind info where compact unwind info can be used. This reduces the
# object size by ~5% on average, improving disk space usage and link times. The final binary size
Expand Down

0 comments on commit cc5c6e1

Please sign in to comment.