zig fetch --save git+https://github.com/ChainSafe/blst.zig.gitconst blst_dep = b.dependency("blst", .{
.target = target,
.optimize = optimize,
});
your_exe.root_module.addImport("blst", blst_dep.module("blst"));The module contains the translated declarations from blst.h and
blst_aux.h, and links the native library automatically:
const blst = @import("blst");
const generator = blst.blst_p1_generator();