Skip to content

Commit ec7e160

Browse files
committed
Raise minimum supported macOS to 10.12
1 parent 6c107e0 commit ec7e160

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

std/src/sys/unix/thread_parking/darwin.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
//!
33
//! Darwin actually has futex syscalls (`__ulock_wait`/`__ulock_wake`), but they
44
//! cannot be used in `std` because they are non-public (their use will lead to
5-
//! rejection from the App Store) and because they are only available starting
6-
//! with macOS version 10.12, even though the minimum target version is 10.7.
5+
//! rejection from the App Store).
76
//!
87
//! Therefore, we need to look for other synchronization primitives. Luckily, Darwin
98
//! supports semaphores, which allow us to implement the behaviour we need with

0 commit comments

Comments
 (0)