[libcxx-commits] [libcxx] [libc++] Avoid including <features.h> on arbitrary platforms (PR #125587)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Tue Feb 18 11:38:29 PST 2025


ldionne wrote:

> Looks like this breaks cuda tests on Mac, at least in the gn build: http://45.33.8.238/macm1/100921/step_6.txt
> 
> I think the test isn't sufficiently hermetic and the test is to blame, but nevertheless check-clang is broken.

Ack, just saw this. I think it's easy to add another layer of guard with `__has_include`.

https://github.com/llvm/llvm-project/pull/125587


More information about the libcxx-commits mailing list