Skip to content

[libcxx] Use the default rune table when using the LLVM libc #106632

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 31, 2024

Conversation

jhuber6
Copy link
Contributor

@jhuber6 jhuber6 commented Aug 29, 2024

Summary:
We currently do not provide a more complicated rune table, so we want the
default.

Summary:
We currently do not provide a more complicated run table, so we want the
default.
@jhuber6 jhuber6 requested a review from a team as a code owner August 29, 2024 21:19
@llvmbot llvmbot added the libc++ libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi. label Aug 29, 2024
@llvmbot
Copy link
Member

llvmbot commented Aug 29, 2024

@llvm/pr-subscribers-libcxx

Author: Joseph Huber (jhuber6)

Changes

Summary:
We currently do not provide a more complicated run table, so we want the
default.


Full diff: https://github.com/llvm/llvm-project/pull/106632.diff

1 Files Affected:

  • (modified) libcxx/include/__config (+1-1)
diff --git a/libcxx/include/__config b/libcxx/include/__config
index 9dd8d46b48d28f..b8ec905a5cbfa6 100644
--- a/libcxx/include/__config
+++ b/libcxx/include/__config
@@ -888,7 +888,7 @@ typedef __char32_t char32_t;
 #  endif
 
 #  if defined(__BIONIC__) || defined(__NuttX__) || defined(__Fuchsia__) || defined(__wasi__) ||                        \
-      defined(_LIBCPP_HAS_MUSL_LIBC) || defined(__OpenBSD__)
+      defined(_LIBCPP_HAS_MUSL_LIBC) || defined(__OpenBSD__) || defined(__LLVM_LIBC__)
 #    define _LIBCPP_PROVIDES_DEFAULT_RUNE_TABLE
 #  endif
 

@jhuber6 jhuber6 merged commit 38dbcbd into llvm:main Aug 31, 2024
66 checks passed
@jhuber6 jhuber6 deleted the rune branch August 31, 2024 12:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
libc++ libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants