[libcxx-commits] [libcxx] 12339ef - Revert "[libc++] Do not set the `availability=XXX` feature when not testing against a system libc++"

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Wed Feb 26 16:22:36 PST 2020


Author: Louis Dionne
Date: 2020-02-26T19:20:14-05:00
New Revision: 12339efd70966edd2016206ddae2fbfdf748d400

URL: https://github.com/llvm/llvm-project/commit/12339efd70966edd2016206ddae2fbfdf748d400
DIFF: https://github.com/llvm/llvm-project/commit/12339efd70966edd2016206ddae2fbfdf748d400.diff

LOG: Revert "[libc++] Do not set the `availability=XXX` feature when not testing against a system libc++"

This reverts commit 7dd6a862e, which broke more tests than it fixed.

Added: 
    

Modified: 
    libcxx/utils/libcxx/test/config.py

Removed: 
    


################################################################################
diff  --git a/libcxx/utils/libcxx/test/config.py b/libcxx/utils/libcxx/test/config.py
index 8d6b90128b6c..215faf2368c9 100644
--- a/libcxx/utils/libcxx/test/config.py
+++ b/libcxx/utils/libcxx/test/config.py
@@ -418,7 +418,7 @@ def configure_features(self):
         # Configure the availability feature. Availability is only enabled
         # with libc++, because other standard libraries do not provide
         # availability markup.
-        if self.use_deployment and self.cxx_stdlib_under_test == 'libc++' and self.use_system_cxx_lib:
+        if self.use_deployment and self.cxx_stdlib_under_test == 'libc++':
             self.config.available_features.add('availability')
             self.add_deployment_feature('availability')
 


        


More information about the libcxx-commits mailing list