0
Fork 0
mirror of https://codeberg.org/ziglang/zig synced 2026-11-18 07:05:05 +00:00

std.Io.Threaded: only use spawnDarwin in processReplace when spawning is supported

ios, tvos, visionos and watchos can't spawn processes, so their
null_file has no fd and spawnDarwin doesn't compile for them. The
vtable always references processReplace and the default panic handler
uses Threaded, so nearly every program for these targets failed to
compile. Fall back to posixExec there, as before 9fe0ebe108.

closes https://codeberg.org/ziglang/zig/issues/37061
This commit is contained in:
David 2026-10-03 16:28:20 +04:00
commit 0bfd34342b