This is c-blosc2, packaged for Zig.
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/c-blosc2.git
You can then link c-blosc2 in your build.zig with:
const c_blosc2_dependency = b.dependency("c_blosc2", .{
.target = target,
.optimize = optimize,
});
your_exe.linkLibrary(c_blosc2_dependency.artifact("blosc2"));| CPU | OS | ABI | Status |
|---|---|---|---|
x86_64 |
linux |
gnu |
Tested with CI |
x86_64 |
linux |
musl |
Manually tested |
x86_64 |
windows |
gnu |
Manually tested |
windows |
msvc |
Fails to compile |