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 }}
Repository navigation
path arguments to zig build are inconsistent in whether they are relative to build root, such as --zig-lib-dir #12685
It is then used relative to the cwd in order to build the build runner. Next, it is passed to the build runner and then the build runner interprets the file path as being relative to build.zig.
It can't be both ways; it needs to be consistently one way.
This results in nonsense experiences such as this:
$ stage3/bin/zig build --zig-lib-dir ../lib
error: unable to open zig lib directory from 'zig-lib-dir' argument or env, '/home/andy/dev/lib': FileNotFound
$ stage3/bin/zig build --zig-lib-dir lib
error: unable to open zig lib directory from 'zig-lib-dir' argument: 'lib': FileNotFound
As a workaround until this issue is fixed an absolute path can be used:
Activity
CI: use absolute path for zig lib dir
CI: windows: fix zig lib dir path
CI: windows: fix zig lib dir path
Fixes ziglang#12685.
Fixes ziglang#12685.
Fixes ziglang#12685.
build system: follow-up enhancements regarding LazyPath
build system: follow-up enhancements regarding LazyPath
build system: follow-up enhancements regarding LazyPath