[libc-commits] [libc] [libc] Add Darwin mutex support via os_sync primitives (PR #167722)
Schrodinger ZHU Yifan via libc-commits
libc-commits at lists.llvm.org
Tue Dec 9 07:21:46 PST 2025
SchrodingerZhu wrote:
I have updated the CI to run on macOS-15. macOS-14 is within lifespan but I don't think it is very useful to support 14.4 as it is not patched with the latest security updates.
You can either:
1. rebase onto latest main which will workaround the issue in CI.
2. if you really want to support them, you will need to use __builtin_available together with the `ulock` API (https://docs.rs/ulock-sys/latest/ulock_sys/) to polyfill os_sync APIs. Do notice that their semantics has subtle difference.
https://github.com/llvm/llvm-project/pull/167722
More information about the libc-commits
mailing list