From 12339efd70966edd2016206ddae2fbfdf748d400 Mon Sep 17 00:00:00 2001 From: Louis Dionne Date: Wed, 26 Feb 2020 19:14:34 -0500 Subject: [PATCH] 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. --- libcxx/utils/libcxx/test/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libcxx/utils/libcxx/test/config.py b/libcxx/utils/libcxx/test/config.py index 8d6b901..215faf2 100644 --- a/libcxx/utils/libcxx/test/config.py +++ b/libcxx/utils/libcxx/test/config.py @@ -418,7 +418,7 @@ class Configuration(object): # 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') -- 2.7.4