10 lines
376 B
Rust
10 lines
376 B
Rust
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), wasip, emscripten, iOS, Illumos, Android, AIX, Solaris and Haiku.",
|
|
);
|