[libc++] Add a libc++ configuration that does not support localization

When porting libc++ to embedded systems, it can be useful to drop support
for localization, which these systems don't implement or care about.

Differential Revision: https://reviews.llvm.org/D90072
This commit is contained in:
Louis Dionne
2020-10-09 15:31:05 -04:00
parent 917acac960
commit 88ffc72717
117 changed files with 396 additions and 84 deletions

View File

@@ -0,0 +1,3 @@
# These std::string functions require iostreams, which requires localization
if 'libcpp-has-no-localization' in config.available_features:
config.unsupported = True