[libc++] Disable int128_t and ship filesystem on MSVC by default
authorLouis Dionne <ldionne.2@gmail.com>
Thu, 29 Sep 2022 21:44:39 +0000 (17:44 -0400)
committerLouis Dionne <ldionne.2@gmail.com>
Tue, 6 Jun 2023 20:31:03 +0000 (13:31 -0700)
commit1939eb3dc2330af6fb9609a7c3bd5276e127c9ce
treed0ea9f3b197eca265ca821c85e6a4b487db3836e
parentbb10612587f2b6c1cde3bce810ed7fb3f533f33b
[libc++] Disable int128_t and ship filesystem on MSVC by default

Back in 2020 [1], we went very close to enabling Filesystem on MSVC
by disabling int128_t, but decided to wait because MSVC support
for int128_t was supposed to come shortly after. Since it's not
there yet, I propose turning off int128_t support by default on MSVC.
This will make <filesystem> available by default on MSVC, and most
importantly will open the possibility for changing
LIBCXX_ENABLE_FILESYSTEM to mean "the system doesn't have support
for a filesystem" instead of simply "don't build the std::filesystem
library", which is what I'm really after with this change.

In a way, this is a resurection of D91139.

[1]: https://reviews.llvm.org/D91139#2429595

Differential Revision: https://reviews.llvm.org/D134912
libcxx/CMakeLists.txt
libcxx/include/__config
libcxx/utils/ci/run-buildbot