Google Highway built with the Zig build system
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Francisco Nevitt Gonçalves 01fc01c626 Bump to Zig 0.16.0
2026-06-02 11:00:25 +01:00
.github/workflows Add CI workflow 2026-02-13 14:59:20 +00:00
.gitignore zig 0.15.2 init -m 2026-02-11 10:43:59 +00:00
build.zig Bump to Zig 0.16.0 2026-06-02 11:00:25 +01:00
build.zig.zon Bump to Zig 0.16.0 2026-06-02 11:00:25 +01:00
LICENSE Add MIT license 2026-02-12 18:19:49 +00:00
README.md Add README 2026-02-13 14:59:20 +00:00

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"));