Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

blst packaged for Zig

Usage

zig fetch --save git+https://github.com/ChainSafe/blst.zig.git
const 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();

About

blst ported to the zig build system

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages