Backport: Update to Zig 0.17.0

This commit is contained in:
AnErrupTion committed 2026-10-03 18:04:48 +02:00
1 parent 73fcb8646a
commit def17ade93
12 files changed
+49 -63

No files matched your search

+1 -3
View File
@@ -21,9 +21,7 @@ pub fn build(b: *std.Build) void {
const zigini = b.dependency("zigini", .{ .target = target, .optimize = optimize });
mod.addImport("zigini", zigini.module("zigini"));
const translate_c = b.dependency("translate_c", .{
.target = target,
});
const translate_c = b.dependency("translate_c", .{});
addCImport(b, mod, translate_c, target, optimize, "pam", "#include <security/pam_appl.h>");
addCImport(b, mod, translate_c, target, optimize, "utmp", "#include <utmpx.h>");