Skip to content

Commit

Permalink
Modified build.zig to catch up with Zig build system development
Browse files Browse the repository at this point in the history
  • Loading branch information
Durobot committed Oct 9, 2024
1 parent 2c7d255 commit bb2daea
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 @@ -19,7 +19,7 @@ pub fn build(b: *std.Build) void
// const mod = b.addModule("zigStructPrint", // package_name
_ = b.addModule("zigStructPrint", // package_name
.{
.root_source_file = .{ .path = "src/zsp.zig" },
.root_source_file = b.path("src/zsp.zig"),
.target = target,
.optimize = optimize,
});
Expand All @@ -29,7 +29,7 @@ pub fn build(b: *std.Build) void
.name = "zigStructPrint",
// In this case the main source file is merely a path, however, in more
// complicated build scripts, this could be a generated file.
.root_source_file = .{ .path = "src/zsp.zig" },
.root_source_file = b.path("src/zsp.zig"),
.target = target,
.optimize = optimize,
});
Expand Down

0 comments on commit bb2daea

Please sign in to comment.