[all-commits] [llvm/llvm-project] e03a23: [libc++] Cast 0 to `__locale_t` in `text_encoding....
William Tran-Viet via All-commits
all-commits at lists.llvm.org
Thu Jun 25 21:00:34 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e03a23b2f9f43536ea2e724a078b76b870c5dabc
https://github.com/llvm/llvm-project/commit/e03a23b2f9f43536ea2e724a078b76b870c5dabc
Author: William Tran-Viet <wtranviet at proton.me>
Date: 2026-06-26 (Fri, 26 Jun 2026)
Changed paths:
M libcxx/src/text_encoding.cpp
M libcxx/test/std/localization/locales/locale/locale.members/encoding.pass.cpp
Log Message:
-----------
[libc++] Cast 0 to `__locale_t` in `text_encoding.cpp` (#205882)
- As mentioned
https://github.com/llvm/llvm-project/pull/141312#issuecomment-4799649766,
platforms which define `locale_t` as not a pointer fail would fail to
compile. This should fix the picolibc case.
- As an aside, also disable the `encoding.pass.cpp` test for llvm-libc
as that also uses `__get_locale_encoding()`
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list