Skip to content

zstd ported to the zig build system

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
LICENSE-ZSTD
Notifications You must be signed in to change notification settings

allyourcodebase/zstd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CI

zstd

This is zstd, 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/zstd.git#1.5.6-1

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

const zstd_dependency = b.dependency("zstd", .{
    .target = target,
    .optimize = optimize,
});
your_exe.linkLibrary(zstd_dependency.artifact("zstd"));

About

zstd ported to the zig build system

Topics

Resources

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
LICENSE-ZSTD

Stars

Watchers

Forks

Languages