commit f6f0fefd8b69c0cc7d73317ca7295df50eae5fa0 (tree) parent fb948fbacc282c8e5354ae47eba79b8a38e6fe68 Author: Andrew Kelley <andrew@ziglang.org> Date: Mon, 29 Apr 2024 12:45:15 -0700 libc++: patch tz impl to crash on windows instead of FTBFS Diffstat:
| M | lib/libcxx/src/tz.cpp | | | 4 | +++- |
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/lib/libcxx/src/tz.cpp b/lib/libcxx/src/tz.cpp @@ -45,7 +45,9 @@ _LIBCPP_WEAK string_view __libcpp_tzdb_directory() { #if defined(__linux__) return "/usr/share/zoneinfo/"; #else -# error "unknown path to the IANA Time Zone Database" +// Zig patch: change this compilation error into a runtime crash. +//# error "unknown path to the IANA Time Zone Database" + abort(); #endif }