Hi there! Many thanks for providing this package, it is very useful.
Unfortunately when I upgraded my zig version to 0.15.2, I've encountered some build errors due to breaking changes in the build api.
Are you interested in supporting zig 0.15.2 for this module? If so I could prepare a PR.
$ zig version
0.15.2
$ zig build
/nix/store/nbvyx6mx69j8l3clvjmj92mq704pvi7g-zig-0.15.2/lib/std/Io/Writer.zig:1200:9: error: ambiguous format string; specify {f} to call format method, or {any} to skip it
@compileError("ambiguous format string; specify {f} to call format method, or {any} to skip it");
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
referenced by:
print__anon_107354: /nix/store/nbvyx6mx69j8l3clvjmj92mq704pvi7g-zig-0.15.2/lib/std/Io/Writer.zig:700:25
allocPrint__anon_101456: /nix/store/nbvyx6mx69j8l3clvjmj92mq704pvi7g-zig-0.15.2/lib/std/fmt.zig:638:20
12 reference(s) hidden; use '-freference-trace=14' to see all references
.zig-cache-global/p/googletest-1.15.2-AAAAAI0MAABls8Mqi55vY2QzQ1Da9H5AB7l4_Z5x5WMx/build.zig:9:20: error: no field or member function named 'addStaticLibrary' in 'Build'
const gtest = b.addStaticLibrary(.{
~^~~~~~~~~~~~~~~~~
/nix/store/nbvyx6mx69j8l3clvjmj92mq704pvi7g-zig-0.15.2/lib/std/Build.zig:1:1: note: struct declared here
const std = @import("std.zig");
^~~~~
.zig-cache-global/p/googletest-1.15.2-AAAAAI0MAABls8Mqi55vY2QzQ1Da9H5AB7l4_Z5x5WMx/build.zig:9:20: note: method invocation only supports up to one level of implicit pointer dereferencing
.zig-cache-global/p/googletest-1.15.2-AAAAAI0MAABls8Mqi55vY2QzQ1Da9H5AB7l4_Z5x5WMx/build.zig:9:20: note: use '.*' to dereference pointer
.zig-cache-global/p/patch-2.6.1-po1jOVRtAAAGruHh4xmWulsWNmjhnfZKLvMbtfL1qieU/PatchStep.zig:35:48: error: struct 'array_list.Aligned(Build.LazyPath,null)' has no member named 'init'
const patch_files = std.ArrayList(LazyPath).init(b.allocator);
~~~~~~~~~~~~~~~~~~~~~~~^~~~~
/nix/store/nbvyx6mx69j8l3clvjmj92mq704pvi7g-zig-0.15.2/lib/std/array_list.zig:606:12: note: struct declared here
return struct {
^~~~~~
.zig-cache-global/p/patch-2.6.1-po1jOVRtAAAGruHh4xmWulsWNmjhnfZKLvMbtfL1qieU/PatchStep.zig:56:22: error: member function expected 2 argument(s), found 1
patch.patch_files.append(file) catch @panic("OOM");
~~~~~~~~~~~~~~~~~^~~~~~~
/nix/store/nbvyx6mx69j8l3clvjmj92mq704pvi7g-zig-0.15.2/lib/std/array_list.zig:893:13: note: function declared here
pub fn append(self: *Self, gpa: Allocator, item: T) Allocator.Error!void {
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.zig-cache-global/p/patch-2.6.1-po1jOVRtAAAGruHh4xmWulsWNmjhnfZKLvMbtfL1qieU/PatchStep.zig:148:50: error: struct 'array_list.Aligned([]const u8,null)' has no member named 'init'
var argv_list = std.ArrayList([]const u8).init(b.allocator);
~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
/nix/store/nbvyx6mx69j8l3clvjmj92mq704pvi7g-zig-0.15.2/lib/std/array_list.zig:606:12: note: struct declared here
return struct {
^~~~~~
.zig-cache-global/p/patch-2.6.1-po1jOVRtAAAGruHh4xmWulsWNmjhnfZKLvMbtfL1qieU/build.zig:115:42: error: struct 'array_list.Aligned([]const u8,null)' has no member named 'init'
var flags = std.ArrayList([]const u8).init(b.allocator);
~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
/nix/store/nbvyx6mx69j8l3clvjmj92mq704pvi7g-zig-0.15.2/lib/std/array_list.zig:606:12: note: struct declared here
return struct {
^~~~~~
build.zig:251:26: error: no field named 'optimize' in struct 'Build.ExecutableOptions'
.optimize = optimize,
^~~~~~~~
/nix/store/nbvyx6mx69j8l3clvjmj92mq704pvi7g-zig-0.15.2/lib/std/Build.zig:771:31: note: struct declared here
pub const ExecutableOptions = struct {
^~~~~~
Hi there! Many thanks for providing this package, it is very useful.
Unfortunately when I upgraded my zig version to 0.15.2, I've encountered some build errors due to breaking changes in the build api.
Are you interested in supporting zig 0.15.2 for this module? If so I could prepare a PR.