llvmbot wrote:

<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-libcxx

Author: None (llvmbot)

<details>
<summary>Changes</summary>

Backport d4854177dd0513a07e3f2d8b1b5642f8226cead5

Requested by: @<!-- -->ldionne

---
Full diff: https://github.com/llvm/llvm-project/pull/181428.diff


3 Files Affected:

- (modified) libcxx/docs/ReleaseNotes/22.rst (+2) 
- (modified) libcxx/docs/index.rst (+1-1) 
- (modified) libcxx/include/__configuration/availability.h (+3-3) 


``````````diff
diff --git a/libcxx/docs/ReleaseNotes/22.rst b/libcxx/docs/ReleaseNotes/22.rst
index 623bf409d7ebb..59990d1aa5feb 100644
--- a/libcxx/docs/ReleaseNotes/22.rst
+++ b/libcxx/docs/ReleaseNotes/22.rst
@@ -106,6 +106,8 @@ Improvements and New Features
 Deprecations and Removals
 -------------------------
 
+- The minimally supported deployment target on macOS has been increased to 
11.0.
+
 Potentially breaking changes
 ----------------------------
 
diff --git a/libcxx/docs/index.rst b/libcxx/docs/index.rst
index 20c63efaac156..6381803e682e3 100644
--- a/libcxx/docs/index.rst
+++ b/libcxx/docs/index.rst
@@ -143,7 +143,7 @@ Libc++ also supports common platforms and architectures:
 ===================== ========================= ============================
 Target platform       Target architecture       Notes
 ===================== ========================= ============================
-macOS 10.13+          i386, x86_64, arm64
+macOS 11.0+           i386, x86_64, arm64       Deployment target lower bound 
is the minimum between what Chrome resp. the last stable `Xcode release 
<https://developer.apple.com/support/xcode>`_ support
 FreeBSD 12+           i386, x86_64, arm
 Linux                 i386, x86_64, arm, arm64  Only glibc-2.24 and later and 
no other libc is officially supported
 Android 5.0+          i386, x86_64, arm, arm64
diff --git a/libcxx/include/__configuration/availability.h 
b/libcxx/include/__configuration/availability.h
index 2c76347090fca..40e11b3314980 100644
--- a/libcxx/include/__configuration/availability.h
+++ b/libcxx/include/__configuration/availability.h
@@ -196,11 +196,11 @@
     __attribute__((availability(bridgeos, strict, introduced = 6.0)))          
                                   \
     __attribute__((availability(driverkit, strict, introduced = 21.3)))
 
-#  if (defined(__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__)  && 
__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__  < 101300) || \
+#  if (defined(__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__)  && 
__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__  < 110000) || \
       (defined(__ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__) && 
__ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__ < 150000) || \
       (defined(__ENVIRONMENT_TV_OS_VERSION_MIN_REQUIRED__)     && 
__ENVIRONMENT_TV_OS_VERSION_MIN_REQUIRED__     < 150000) || \
-      (defined(__ENVIRONMENT_WATCH_OS_VERSION_MIN_REQUIRED__)  && 
__ENVIRONMENT_WATCH_OS_VERSION_MIN_REQUIRED__  < 70000)  || \
-      (defined(__ENVIRONMENT_DRIVERKIT_VERSION_MIN_REQUIRED__) && 
__ENVIRONMENT_DRIVERKIT_VERSION_MIN_REQUIRED__ < 190000)
+      (defined(__ENVIRONMENT_WATCH_OS_VERSION_MIN_REQUIRED__)  && 
__ENVIRONMENT_WATCH_OS_VERSION_MIN_REQUIRED__  < 80000)  || \
+      (defined(__ENVIRONMENT_DRIVERKIT_VERSION_MIN_REQUIRED__) && 
__ENVIRONMENT_DRIVERKIT_VERSION_MIN_REQUIRED__ < 200000)
 #  warning "The selected platform is no longer supported by libc++."
 #  endif
 

``````````

</details>


https://github.com/llvm/llvm-project/pull/181428
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to