Skip to content

Commit

Permalink
mod: add exported module
Browse files Browse the repository at this point in the history
Signed-off-by: Ignacio Hagopian <jsign.uy@gmail.com>
  • Loading branch information
jsign committed Aug 26, 2023
1 parent 680f6dd commit 851d330
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ pub fn build(b: *std.Build) void {
// set a preferred release mode, allowing the user to decide how to optimize.
const optimize = b.standardOptimizeOption(.{});

_ = b.addModule("poseidon", Builder.CreateModuleOptions{ .source_file = .{ .path = "src/poseidon.zig" } });

const lib = b.addStaticLibrary(.{
.name = "zig-poseidon",
// In this case the main source file is merely a path, however, in more
Expand Down

0 comments on commit 851d330

Please sign in to comment.