Skip to content

Commit

Permalink
Update for Zig 0.13
Browse files Browse the repository at this point in the history
  • Loading branch information
jedisct1 committed May 9, 2024
1 parent 79fa39a commit c18e510
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ pub fn build(b: *std.Build) void {
.link_libc = true,
});
_ = b.addModule("libhydrogen", .{
.root_source_file = .{ .path = "hydrogen.c" },
.root_source_file = b.path("hydrogen.c"),
.link_libc = true,
});
lib.addCSourceFile(.{
.file = .{ .path = "hydrogen.c" },
.file = b.path("hydrogen.c"),
});
b.installArtifact(lib);
}

0 comments on commit c18e510

Please sign in to comment.