[libcxx-commits] [libcxx] [libc++][chrono] Loads tzdata.zi in tzdb. (PR #74928)

Mark de Wever via libcxx-commits libcxx-commits at lists.llvm.org
Sun Feb 4 04:51:30 PST 2024


================
@@ -31,6 +37,9 @@ namespace chrono {
 
 struct _LIBCPP_AVAILABILITY_TZDB tzdb {
   string version;
+  vector<pair<string, vector<__tz::__rule>>> __rules;
----------------
mordante wrote:

Since we move the code to the dylib we can do this whenever we want. Since the code expects a vector and the move to the dylib loses test coverage I've only added a TODO and did not use `std::map` as a temporary measure.

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


More information about the libcxx-commits mailing list