[libcxx] [llvm] [libc++] Add support for picolibc and newlib in RUNTIMES_USE_LIBC (PR #147956)
Volodymyr Turanskyy via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 16 06:56:41 PDT 2025
================
@@ -42,11 +42,15 @@
# endif
#endif
-// This is required in order for _NEWLIB_VERSION to be defined in places where we use it.
-// TODO: We shouldn't be including arbitrarily-named headers from libc++ since this can break valid
-// user code. Move code paths that need _NEWLIB_VERSION to another customization mechanism.
-#if __has_include(<picolibc.h>)
-# include <picolibc.h>
+// TODO: Remove this deprecated behavior after LLVM 22 release
----------------
voltur01 wrote:
Agreed, I do not expect many people using it anyway - removed.
https://github.com/llvm/llvm-project/pull/147956
More information about the llvm-commits
mailing list