authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2024-04-29 12:45:15-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2024-05-08 19:37:29-07:00
logf6f0fefd8b69c0cc7d73317ca7295df50eae5fa0
treef61cca21787cbdc57fc883cf583d4c6ba18a8bb1
parentfb948fbacc282c8e5354ae47eba79b8a38e6fe68

libc++: patch tz impl to crash on windows instead of FTBFS


1 files changed, 3 insertions(+), 1 deletions(-)

lib/libcxx/src/tz.cpp+3-1
...@@ -45,7 +45,9 @@ _LIBCPP_WEAK string_view __libcpp_tzdb_directory() {...@@ -45,7 +45,9 @@ _LIBCPP_WEAK string_view __libcpp_tzdb_directory() {
45#if defined(__linux__)45#if defined(__linux__)
46 return "/usr/share/zoneinfo/";46 return "/usr/share/zoneinfo/";
47#else47#else
48# error "unknown path to the IANA Time Zone Database"48// Zig patch: change this compilation error into a runtime crash.
49//# error "unknown path to the IANA Time Zone Database"
50 abort();
49#endif51#endif
50}52}
5153