[libcxx-commits] [PATCH] D114242: [libc++] Fix some tests that were broken in the single-threaded configuration
Mark de Wever via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Nov 19 10:16:45 PST 2021
Mordante added a comment.
In D114242#3142869 <https://reviews.llvm.org/D114242#3142869>, @ldionne wrote:
> In D114242#3142796 <https://reviews.llvm.org/D114242#3142796>, @Mordante wrote:
>
>> Fair point. At some point it would be nice to have an actual "freestanding" C library for these test purposes. But I agree it would be a waste of our time to try to create that. (Unless we have somebody with too much time on their hands ;-) )
>
> Well, I wouldn't say it would be a waste of time -- I think it would be super useful and in fact it could help formalize what it means to support various levels of Freestanding, even for other C++ Standard Library implementations. However, yeah, it's not the highest on the priority list.
Don't get me wrong, I would love to have better support for non-hosted builds. But I think it would be better to see whether we can use an existing non-hosted C library instead of writing our own. Maybe it would be possible to use LLVM's libc for that purpose. That is if we can easily disable some of their features.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D114242/new/
https://reviews.llvm.org/D114242
More information about the libcxx-commits
mailing list