Skip to content
allyourcodebasePublic

About

libexpat ported to the zig build system

Topics

Resources

Stars

3 stars

Watchers

2 watching

Forks

Latest commit

 

History

35 Commits

Folders and files

Repository files navigation

CI

Expat

This is Expat, 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/libexpat.git#2.9.0

You can then import expat in your build.zig with:

const expat_dependency = b.dependency("expat", .{
    .target = target,
    .optimize = optimize,
});
your_exe.root_module.linkLibrary(expat_dependency.artifact("expat"));

About

libexpat ported to the zig build system

Topics

Resources

Stars

3 stars

Watchers

2 watching

Forks

Releases

Used by

Contributors

Languages