xmake-zig

Installation
SKILL.md

Building Zig with Xmake

Xmake drives zig build-exe / zig build-lib under the hood. Zig is particularly nice because its native cross-compile story plays well with xmake's toolchain selection.

1. Minimal project

xmake create -l zig -t console hello
cd hello
xmake run
add_rules("mode.debug", "mode.release")

target("hello")
    set_kind("binary")
    add_files("src/*.zig")
Installs
3
GitHub Stars
16
First Seen
May 8, 2026
xmake-zig — xmake-io/xmake-skills