Skip to content

Commit 5b2d6f8

Browse files
committed
Remove thread-safety exemption for MacOS
See #610 for details.
1 parent eb866d4 commit 5b2d6f8

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

tests/utc_offset.rs

-1
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,6 @@ fn current_local_offset() {
178178
#[test]
179179
#[cfg_attr(
180180
any(
181-
target_os = "macos",
182181
target_os = "netbsd",
183182
target_os = "illumos",
184183
not(target_family = "unix")

time/src/sys/local_offset_at/unix.rs

-3
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,6 @@ const OS_HAS_THREAD_SAFE_ENVIRONMENT: bool = match std::env::consts::OS.as_bytes
1515
// https://github.com/NetBSD/src/blob/f45028636a44111bc4af44d460924958a4460844/lib/libc/stdlib/getenv.c
1616
// https://github.com/NetBSD/src/blob/f45028636a44111bc4af44d460924958a4460844/lib/libc/stdlib/setenv.c
1717
| b"netbsd"
18-
// https://github.com/apple-oss-distributions/Libc/blob/d526593760f0f79dfaeb8b96c3c8a42c791156ff/stdlib/FreeBSD/getenv.c
19-
// https://github.com/apple-oss-distributions/Libc/blob/d526593760f0f79dfaeb8b96c3c8a42c791156ff/stdlib/FreeBSD/setenv.c
20-
| b"macos"
2118
=> true,
2219
_ => false,
2320
};

0 commit comments

Comments
 (0)