Commit df9af64
committed
Disable C++20 time zone support
LLVM 18.1.2 adds C++20 time zone support
(https://libcxx.llvm.org/DesignDocs/TimeZone.html) to libcxx, which
requires access IANA Time Zone Database. Currently it seems it only
supports Linux:
https://github.com/llvm/llvm-project/blob/26a1d6601d727a96f4301d0d8647b5a42760ae0c/libcxx/src/tz.cpp#L45-L49
So this excludes the two source files from build (which is done via
`CMakeLists.txt` in the upstream LLVM) and sets
`_LIBCPP_HAS_NO_TIME_ZONE_DATABASE` macro in `__config_site`. In future
maybe we can consider implementing this in JS.1 parent 6a0909e commit df9af64
2 files changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1617 | 1617 | | |
1618 | 1618 | | |
1619 | 1619 | | |
| 1620 | + | |
| 1621 | + | |
| 1622 | + | |
| 1623 | + | |
1620 | 1624 | | |
1621 | 1625 | | |
1622 | 1626 | | |
| |||
0 commit comments