diff options
Diffstat (limited to 'libcxx/utils')
-rw-r--r-- | libcxx/utils/libcxx/test/config.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libcxx/utils/libcxx/test/config.py b/libcxx/utils/libcxx/test/config.py index c618c29fd15..e263e9db750 100644 --- a/libcxx/utils/libcxx/test/config.py +++ b/libcxx/utils/libcxx/test/config.py @@ -1164,10 +1164,10 @@ class Configuration(object): self.config.available_features.add('dylib-has-no-bad_any_cast') self.lit_config.note("throwing bad_any_cast is not supported by the deployment target") - # Filesystem is not supported on Apple platforms yet - if name == 'macosx': + # Filesystem is support on Apple platforms starting with macosx10.15. + if name == 'macosx' and version in ('10.%s' % v for v in range(7, 15)): self.config.available_features.add('dylib-has-no-filesystem') - self.lit_config.note("the deployment target does not support the dylib parts of <filesystem>") + self.lit_config.note("the deployment target does not support <filesystem>") else: self.cxx.flags += ['-D_LIBCPP_DISABLE_AVAILABILITY'] |