[libc++] Reimplement platform detection features without running on the test host
authorLouis Dionne <ldionne@apple.com>
Wed, 8 Jul 2020 18:04:45 +0000 (14:04 -0400)
committerLouis Dionne <ldionne@apple.com>
Wed, 8 Jul 2020 18:05:33 +0000 (14:05 -0400)
commit2be4014fe6005e310b9e24c88d407c7a14eb625e
treed3597b20628640ae51d3c1db1a260bb8bb75f95b
parente81c05777d67ec2dcbd55d34c7d2287e237bfbd1
[libc++] Reimplement platform detection features without running on the test host

It's sufficient to sniff the platform we're running on using the compiler
macros -- we don't need to run any code.
libcxx/utils/libcxx/test/features.py