Skip to content

Commit

Permalink
Merge pull request #27 from illfygli/master
Browse files Browse the repository at this point in the history
chore: adapt to build system changes in zig master
  • Loading branch information
frmdstryr authored Jan 5, 2024
2 parents d617963 + 7a8aa1d commit a9c7524
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ 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("zig-datetime", .{ .source_file = .{ .path = "src/main.zig" } });
_ = b.addModule("zig-datetime", .{ .root_source_file = .{ .path = "src/main.zig" } });

const lib = b.addStaticLibrary(.{
.name = "zig-datetime",
Expand Down

0 comments on commit a9c7524

Please sign in to comment.