[libc-commits] [libc] [libc] Support %lc in printf (PR #169983)
Shubh Pachchigar via libc-commits
libc-commits at lists.llvm.org
Sun Jan 11 15:28:26 PST 2026
================
@@ -43,6 +43,14 @@ if(NOT TARGET ${target_error_mapper})
set(target_error_mapper libc.src.stdio.printf_core.generic.error_mapper)
endif()
+set(wchar_deps libc.src.__support.wchar.wcrtomb)
+set(wchar_compile_flags "")
+
+if(${LIBC_TARGET_OS} STREQUAL "windows" OR WIN32)
+ set(wchar_deps "")
+ list(APPEND wchar_compile_flags "-DLIBC_COPT_PRINTF_DISABLE_WIDE")
----------------
shubhe25p wrote:
Resolving this as @michaelrj-google didn't raise any concerns in his latest review. Feel free to open again.
https://github.com/llvm/llvm-project/pull/169983
More information about the libc-commits
mailing list