diff --git a/tests/utc_offset.rs b/tests/utc_offset.rs index ecea4eb3f..05a44b4c9 100644 --- a/tests/utc_offset.rs +++ b/tests/utc_offset.rs @@ -178,7 +178,6 @@ fn current_local_offset() { #[test] #[cfg_attr( any( - target_os = "macos", target_os = "netbsd", target_os = "illumos", not(target_family = "unix") diff --git a/time/src/sys/local_offset_at/unix.rs b/time/src/sys/local_offset_at/unix.rs index f4a808932..eddd8e2a9 100644 --- a/time/src/sys/local_offset_at/unix.rs +++ b/time/src/sys/local_offset_at/unix.rs @@ -15,9 +15,6 @@ const OS_HAS_THREAD_SAFE_ENVIRONMENT: bool = match std::env::consts::OS.as_bytes // https://github.com/NetBSD/src/blob/f45028636a44111bc4af44d460924958a4460844/lib/libc/stdlib/getenv.c // https://github.com/NetBSD/src/blob/f45028636a44111bc4af44d460924958a4460844/lib/libc/stdlib/setenv.c | b"netbsd" - // https://github.com/apple-oss-distributions/Libc/blob/d526593760f0f79dfaeb8b96c3c8a42c791156ff/stdlib/FreeBSD/getenv.c - // https://github.com/apple-oss-distributions/Libc/blob/d526593760f0f79dfaeb8b96c3c8a42c791156ff/stdlib/FreeBSD/setenv.c - | b"macos" => true, _ => false, };