From abaa164d0ad3d4970b402b69ceaf274b449a81e8 Mon Sep 17 00:00:00 2001 From: Brad D <59133880+thearchivalone@users.noreply.github.com> Date: Mon, 24 Aug 2026 12:58:47 -0500 Subject: [PATCH 1/2] Include ini.h in build.zig.zon This small change allows pulling in the c api header when using zig's build system as the main build system when building mixed language code. As it currently stands, to use the c api in that instance, you can use zig fetch to pull in the library but still need to have the header available, making changes upstream a possible breaking point if the api changes and the header is no longer up to date --- build.zig.zon | 1 + 1 file changed, 1 insertion(+) diff --git a/build.zig.zon b/build.zig.zon index e48ed39..f04243f 100644 --- a/build.zig.zon +++ b/build.zig.zon @@ -9,5 +9,6 @@ "build.zig", "build.zig.zon", "src/ini.zig", + "src/ini.h", }, } From db48afa3a3c25c46300478f3103dda1f8711ce4b Mon Sep 17 00:00:00 2001 From: Brad D <59133880+thearchivalone@users.noreply.github.com> Date: Mon, 24 Aug 2026 13:32:00 -0500 Subject: [PATCH 2/2] Add all of the missing zig files Even though adding the ini was fine, not including all of the new files have lead to build failure when including in other projects --- build.zig.zon | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build.zig.zon b/build.zig.zon index f04243f..6b50961 100644 --- a/build.zig.zon +++ b/build.zig.zon @@ -10,5 +10,8 @@ "build.zig.zon", "src/ini.zig", "src/ini.h", + "src/lib.zig", + "src/lib-test.zig", + "src/test.zig" }, }