You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 26, 2025. It is now read-only.
you'll get error: failed to check cache: '../081992ed24df120cd2edde6e56346371/.zig-cache/o/4e4e86279020dbd67ed90b5b94e6e6ba/py.zig' file_hash FileNotFound. Not only does py.zig not exist, its parent (4e4e86279020dbd67ed90b5b94e6e6ba/) does not exist either
Expected Behavior
zig translate-c should write its output to a file regardless of in what folder zig build is run
Zig Version
0.14.0
Steps to Reproduce and Observed Behavior
Everything works as expected in the happy path above. However, if you do
$ mkdir ../scratch $ cd ../scratch $ zig build --build-file ../081992ed24df120cd2edde6e56346371/build.zigyou'll get
error: failed to check cache: '../081992ed24df120cd2edde6e56346371/.zig-cache/o/4e4e86279020dbd67ed90b5b94e6e6ba/py.zig' file_hash FileNotFound. Not only doespy.zignot exist, its parent (4e4e86279020dbd67ed90b5b94e6e6ba/) does not exist eitherExpected Behavior
zig translate-cshould write its output to a file regardless of in what folderzig buildis run