[libcxx-commits] [libcxx] [libc++] Improve aligned allocation support with picolibc. (PR #96086)
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Jul 4 11:44:02 PDT 2024
ldionne wrote:
> All the world's not POSIX. But all the world _is_ C, if you're implementing a C++ library. So, to my way of thinking, it's better to use functionality in the C standard than the POSIX standard if possible, and depend only on POSIX for things you can't do any other way. That's why I'm in favour of fixing this on the libc++ side.
FWIW, I personally agree with that. My preference is to try depending on C instead of POSIX whenever we can.
https://github.com/llvm/llvm-project/pull/96086
More information about the libcxx-commits
mailing list