Apple's spawn.h header marks the posix_spawn* symbols as __API_UNAVAILABLE(watchos, tvos), so we probably shouldn't expose them on those platforms.
Currently though, the standard library uses these symbols, so it seems that this is not enforced very strictly? We should ask Apple (I'll file a FB when I get the time), but in any case, the standard library will have to be updated before we can cfg-gate these away.
Split out from #5158.
Apple's
spawn.hheader marks theposix_spawn*symbols as__API_UNAVAILABLE(watchos, tvos), so we probably shouldn't expose them on those platforms.Currently though, the standard library uses these symbols, so it seems that this is not enforced very strictly? We should ask Apple (I'll file a FB when I get the time), but in any case, the standard library will have to be updated before we can
cfg-gate these away.Split out from #5158.