summaryrefslogtreecommitdiffstats
path: root/vendor/iana-time-zone/src/platform.rs
blob: d5ba0ee34bbb290b4add13fbe23bfbcb1408fa6a (plain)
1
2
3
4
5
6
7
8
9
pub fn get_timezone_inner() -> Result<String, crate::GetTimezoneError> {
    Err(crate::GetTimezoneError::OsError)
}

#[cfg(not(feature = "fallback"))]
compile_error!(
    "iana-time-zone is currently implemented for Linux, Window, MacOS, FreeBSD, NetBSD, \
    OpenBSD, Dragonfly, WebAssembly (browser), iOS, Illumos, Android, Solaris and Haiku.",
);