Update to Zig 0.17.0 (#1028)

Now compiles!
(Tested with Zig 0.17.0-dev.2375+d8aab4878)

## What are the changes about?

Updates dependencies & code for Zig 0.17.0 compatibility.

## What existing issue(s) does this resolve?

N/A

## Pre-requisites

- [x] I have tested & confirmed the changes work locally
- [x] I have read and fully adhere to the rules set in the contributing guidelines found in `CONTRIBUTING.md`

Reviewed-on: https://codeberg.org/fairyglade/ly/pulls/1028
This commit is contained in:
AnErrupTion authored and AnErrupTion committed 2026-10-03 17:53:36 +02:00
1 parent 55de3bc26c
commit f1fc335bb8
13 files changed
+91 -87

No files matched your search

+1 -3
View File
@@ -28,9 +28,7 @@ pub fn build(b: *std.Build) void {
});
mod.addImport("zlua", zlua.module("zlua"));
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>");