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
I'm trying to build my project on Zig 0.15.1 with libvaxis (zig-0.15 branch).
The build fails because the build system tries to compile dwp.zig and gbp.zig from a cached 0.14.1 package, and those files still call std.io.bufferedReader, which was removed in Zig 0.15.
Here is the error:
error: root source file struct 'Io' has no member named 'bufferedReader'
var indic_buf = std.io.bufferedReader(indic_file.deprecatedReader());
~~~~~~^~~~~~~~~~~~~~~
note: struct declared here
const builtin = @import("builtin");
^~~~~
Even after clearing .zig-cache and ~/.cache/zig, it keeps pulling the 0.14.1 codegen (dwp/gbp) from somewhere.
My build.zig.zon points to libvaxis via .path = "deps/libvaxis" so it should be local, but the build still fetches the old codegen files.
How can I force Zig to only use the zig-0.15 branch code and stop compiling the old 0.14.1 tools?
Or is the only solution to downgrade the whole build to Zig 0.14.1?
Thanks in advance!
Even after clearing .zig-cache and ~/.cache/zig, it keeps pulling the 0.14.1 codegen (dwp/gbp) from somewhere.
My build.zig.zon points to libvaxis via .path = "deps/libvaxis" so it should be local, but the build still fetches the old codegen files.
How can I force Zig to only use the zig-0.15 branch code and stop compiling the old 0.14.1 tools?
Or is the only solution to downgrade the whole build to Zig 0.14.1?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
I'm trying to build my project on Zig 0.15.1 with libvaxis (zig-0.15 branch).
The build fails because the build system tries to compile
dwp.zigandgbp.zigfrom a cached 0.14.1 package, and those files still callstd.io.bufferedReader, which was removed in Zig 0.15.Here is the error:
Even after clearing
.zig-cacheand~/.cache/zig, it keeps pulling the 0.14.1 codegen (dwp/gbp) from somewhere.My
build.zig.zonpoints to libvaxis via.path = "deps/libvaxis"so it should be local, but the build still fetches the old codegen files.How can I force Zig to only use the zig-0.15 branch code and stop compiling the old 0.14.1 tools?
Or is the only solution to downgrade the whole build to Zig 0.14.1?
Thanks in advance!
Even after clearing
.zig-cacheand~/.cache/zig, it keeps pulling the 0.14.1 codegen (dwp/gbp) from somewhere.My
build.zig.zonpoints to libvaxis via.path = "deps/libvaxis"so it should be local, but the build still fetches the old codegen files.How can I force Zig to only use the zig-0.15 branch code and stop compiling the old 0.14.1 tools?
Or is the only solution to downgrade the whole build to Zig 0.14.1?
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions