Skip to content
/ pcre Public
forked from rurban/pcre

Commit 9fc7708

Browse files
authored
update build.zig to support zig 0.12.0 (#408)
This is the only breaking change since the previous update https://ziglang.org/documentation/0.12.0/std/#std.Build.Step.Compile.installHeader Co-authored-by: Jordan Griege <>
1 parent 05aafb2 commit 9fc7708

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.zig

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,6 @@ pub fn build(b: *std.Build) !void {
7878
},
7979
});
8080

81-
lib.installHeader("src/pcre2.h.generic", "pcre2.h");
81+
lib.installHeader(.{ .path = "src/pcre2.h.generic" }, "pcre2.h");
8282
b.installArtifact(lib);
8383
}

0 commit comments

Comments
 (0)