Releases: s-u/zig
zig 0.13.0 build for macOS 10.13 (High Sierra) and higher
This is a build of zig 0.13.0 which works on macOS 10.13 (High Sierra) and higher (includes fix 8e502a9).
Use -target x86_64-macos.10.13
to produce binaries which are also compatible with macOS 10.13 and higher if desired. Note that due to LLVM dependencies if you are compiling a project for macOS 10.13 you may need to add -framework CoreFoundation
(possibly with -F$(xcrun --show-sdk-path)/System/Library/Frameworks
). It is not needed for -target x86_64-macos.10.15
and higher.
zig 0.14.0-dev.2541+8e502a93a build for macOS 10.13+
This is a build of zig 0.14.0-dev.2541+8e502a93a which works on macOS 10.13 (High Sierra) and higher.
Use -target x86_64-macos.10.13
to produce binaries which are also compatible with macOS 10.13 and higher if desired. Note that due to LLVM dependencies if you are compiling a project on macOS 10.13 you may need to add -framework CoreFoundation
. It is not needed on macOS 10.15 and higher.
zig 0.14.0-dev.2487+af89bb05d build for macOS 10.15
This is a build of zig
which works on macOS 10.15 (Catalina) unlike the binaries from https://ziglang.org/download/ which result in the following error:
dyld: lazy symbol binding failed: Symbol not found: ___ulock_wait2
Referenced from: zig (which was built for Mac OS X 13.0)
Expected in: /usr/lib/libSystem.B.dylib
dyld: Symbol not found: ___ulock_wait2
Referenced from: zig (which was built for Mac OS X 13.0)
Expected in: /usr/lib/libSystem.B.dylib
Abort trap: 6
since they target macOS versions which are way too recent to run on most Intel Macs. So if you see the above error, just use the binary below instead.