| 15 Aug 2025 |
emily | that's what availability annotations are for | 19:43:26 |
emily | if (__builtin_available(macOS …, *)) or such | 19:43:36 |
emily | but you will have to compile with an SDK that supports that feature, which if it's not even shipping yet Nixpkgs won't have the SDK | 19:43:53 |
emily | which means an availability check inside an #if if you want to land the code before then I guess | 19:44:11 |
helle (just a stray cat girl) | there is a different trick in this case that we can do | 19:45:46 |
helle (just a stray cat girl) | I need to finish this patch tomorrow | 19:45:56 |
helle (just a stray cat girl) | this is for SOCK_CLOEXEC, we can even if we are compiled with it, try and fail and retry without even if the #ifdef showed it was available | 19:49:53 |
emily | what's the functionality? | 19:48:25 |
emily | wait, macOS is adding SOCK_CLOEXEC? is that in Tahoe? | 19:51:04 |