win-iconv ported to the zig build system
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-03-02 14:23:33 +01:00
.github/workflows set minimum Zig version to 0.15.2 2026-03-02 14:23:33 +01:00
.gitattributes initial commit 2025-06-13 17:43:08 +02:00
.gitignore initial commit 2025-06-13 17:43:08 +02:00
build.zig initial commit 2025-06-13 17:43:08 +02:00
build.zig.zon set minimum Zig version to 0.15.2 2026-03-02 14:23:33 +01:00
LICENSE initial commit 2025-06-13 17:43:08 +02:00
README.md initial commit 2025-06-13 17:43:08 +02:00

CI

win-iconv

This is win-iconv, packaged for Zig.

Installation

First, update your build.zig.zon:

# Initialize a `zig build` project if you haven't already
zig init
zig fetch --save git+https://github.com/allyourcodebase/win-iconv.git

You can then import win-iconv in your build.zig with:

const win_iconv_dependency = b.dependency("win_iconv", .{
    .target = target,
    .optimize = optimize,
});
your_exe.linkLibrary(win_iconv_dependency.artifact("iconv"));