[all-commits] [llvm/llvm-project] ea0555: [libc++] Add implementations of `__get_locale_enco...

William Tran-Viet via All-commits all-commits at lists.llvm.org
Thu Jun 25 00:31:46 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ea05555c54ab5d15628e2676cd17ca084a81901a
      https://github.com/llvm/llvm-project/commit/ea05555c54ab5d15628e2676cd17ca084a81901a
  Author: William Tran-Viet <wtranviet at proton.me>
  Date:   2026-06-25 (Thu, 25 Jun 2026)

  Changed paths:
    M libcxx/include/__locale_dir/support/fuchsia.h
    M libcxx/include/__locale_dir/support/llvm_libc.h
    M libcxx/test/libcxx/text/text_encoding/environment.pass.cpp
    M libcxx/test/std/text/text_encoding/text_encoding.members/environment.pass.cpp

  Log Message:
  -----------
  [libc++] Add implementations of `__get_locale_encoding(...)` to Fuschia and LLVM-Libc (#205716)

- These were missed in #141312 and consequently broke the Fuschia and
AMDGPU llvm-libc build bots.
- Fuschia seems to have support for `nl_langinfo_l(...)`, so we can use
that.
- However, LLVM-libc does not implement it, so for now we can do a dummy
implementation and mark `environment()` and `encoding()` as unsupported
on LLVM libc.



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