File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -361,7 +361,8 @@ CompileFlags compute_flags(const BuildPlan& plan) {
361361 // manifest default — previously silently ignored on the clang
362362 // route), link LLVM's own libc++.a/libc++abi.a instead:
363363 // runtime deps shrink to libSystem and the floor drops to
364- // 11.0 (first arm64 macOS). Falls back to -lc++ when the
364+ // 14.0 — the floor of the official LLVM static archives;
365+ // lower needs a custom libc++ build. Falls back to -lc++ when the
365366 // archives are absent.
366367 // 2. deployment target — mirror MACOSX_DEPLOYMENT_TARGET onto the
367368 // link command line so it doesn't depend on env propagation.
Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ struct BuildConfig {
105105 std::vector<std::string> ldflags;
106106 std::string cStandard;
107107 // macOS minimum supported OS version for produced binaries
108- // (LC_BUILD_VERSION minos), e.g. "11 .0". Mirrors the ecosystem
108+ // (LC_BUILD_VERSION minos), e.g. "14 .0". Mirrors the ecosystem
109109 // conventions around deployment targets (the MACOSX_DEPLOYMENT_TARGET
110110 // env var that cargo/rustc/cc honor; SwiftPM's `platforms:` manifest
111111 // field; CMAKE_OSX_DEPLOYMENT_TARGET). Precedence: the env var (an
You can’t perform that action at this time.
0 commit comments