diff --git a/lib/libcxx/src/tz.cpp b/lib/libcxx/src/tz.cpp index 4425f0e6b91bd40775a603c5659feef4fb498c0b..cc9043c4dbf069b5c557376fbe2cf27549fb477b 100644 --- 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 }