vezel-dev / zig-sdk

An MSBuild SDK for building Zig, C, and C++ projects using the Zig compiler.

Home Page:https://docs.vezel.dev/zig-sdk

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The Zig global cache breaks sample builds on macOS

alexrp opened this issue · comments

323f719 disabled building the samples on macOS in CI. Re-enable once cross-compilation from macOS is fixed.

Setting ZIG_GLOBAL_CACHE_DIR is a potential workaround. See: ziglang/zig#9711 (comment)

af73eb3 has worked around the failures but hurts build times by 50-60%. This issue will now track reverting that change once the bug is fixed in Zig.