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.
This commit is contained in:
Louis Dionne 2020-02-26 19:14:34 -05:00
parent a0ec111c92
commit 12339efd70

View File

@ -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')