[libcxx-commits] [libcxx] [llvm] [libc++] Add support for picolibc and newlib in RUNTIMES_USE_LIBC (PR #147956)

Volodymyr Turanskyy via libcxx-commits libcxx-commits at lists.llvm.org
Wed Jul 16 06:56:10 PDT 2025


================
@@ -42,6 +42,11 @@
 // Hardening.
 #cmakedefine _LIBCPP_HARDENING_MODE_DEFAULT @_LIBCPP_HARDENING_MODE_DEFAULT@
 
+// C libraries
+#cmakedefine LIBCXX_LIBC_LLVMLIBC
+#cmakedefine LIBCXX_LIBC_PICOLIBC
+#cmakedefine LIBCXX_LIBC_NEWLIB
----------------
voltur01 wrote:

Very good suggestion, done - the checks are much cleaner now.

https://github.com/llvm/llvm-project/pull/147956


More information about the libcxx-commits mailing list