Debian Codegraph @

.cargo/vendor/iana-time-zone/src/platform.rs

raw
1 pub fn get_timezone_inner() -> Result<String, crate::GetTimezoneError> {
2 Err(crate::GetTimezoneError::OsError)
3 }
4
5 #[cfg(not(feature = "fallback"))]
6 compile_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 );