Raise minimum supported macOS to 10.12

This commit is contained in:
BlackHoleFox 2022-11-13 16:58:18 -06:00
parent 4e5b31c2b0
commit 58bbca958d
12 changed files with 33 additions and 45 deletions

View file

@ -2,8 +2,7 @@
//!
//! Darwin actually has futex syscalls (`__ulock_wait`/`__ulock_wake`), but they
//! cannot be used in `std` because they are non-public (their use will lead to
//! rejection from the App Store) and because they are only available starting
//! with macOS version 10.12, even though the minimum target version is 10.7.
//! rejection from the App Store).
//!
//! Therefore, we need to look for other synchronization primitives. Luckily, Darwin
//! supports semaphores, which allow us to implement the behaviour we need with