mirror of
https://github.com/allyourcodebase/highway.git
synced 2026-11-17 01:20:29 +00:00
Google Highway built with the Zig build system
- Zig 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| .github/workflows | ||
| .gitignore | ||
| build.zig | ||
| build.zig.zon | ||
| LICENSE | ||
| README.md | ||
Google Highway
This is Google Highway, packaged for Zig.
Does not yet include libhwy_contrib.
How to use it
First, update your build.zig.zon:
zig fetch --save git+https://github.com/allyourcodebase/highway
Next, in build.zig, declare the dependency and link with the static library:
const highway_dep = b.dependency("highway", .{
.target = target,
.optimize = optimize,
});
// ...
exe.linkLibrary(highway_dep.artifact("hwy"));