Hacker News new | past | comments | ask | show | jobs | submit login

Note however Zig actually provides libSystem.tbd stubs out of the box, so you can cross-compile from any OS to macOS too as long as you only depend on libSystem (the macOS libc.)

If you need the rest of the Apple SDK, then you'd need a sysroot (and face the challenges you described.)

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact