iana_time_zone/platform.rs
1pub fn get_timezone_inner() -> Result<String, crate::GetTimezoneError> {
2 Err(crate::GetTimezoneError::OsError)
3}
4
5#[cfg(not(feature = "fallback"))]
6compile_error!(
7 "iana-time-zone is currently implemented for Linux, Window, MacOS, FreeBSD, NetBSD, \
8 OpenBSD, Dragonfly, WebAssembly (browser), iOS, Illumos, Android, AIX, Solaris and Haiku.",
9);