Skip to content

Commit

Permalink
fix migration to 0.13.0 errors
Browse files Browse the repository at this point in the history
  • Loading branch information
andy5995 committed Oct 24, 2024
1 parent 83fb8cb commit 98d87bb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ pub fn build(b: *std.Build) void {
const optimize = b.standardOptimizeOption(.{});

_ = b.addModule("zigdeck", .{
.root_source_file = .{ .path = "lib.zig" },
.root_source_file = b.path("lib.zig" ),
.target = target,
.optimize = optimize,
});
Expand All @@ -25,7 +25,7 @@ pub fn build(b: *std.Build) void {
.name = "zigdeck",
// 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 = "lib.zig" },
.root_source_file = b.path("lib.zig"),
.target = target,
.optimize = optimize,
});
Expand All @@ -39,7 +39,7 @@ pub fn build(b: *std.Build) void {
// Creates a step for unit testing. This only builds the test executable
// but does not run it.
const lib_unit_tests = b.addTest(.{
.root_source_file = .{ .path = "lib.zig" },
.root_source_file = b.path("lib.zig"),
.target = target,
.optimize = optimize,
});
Expand Down

0 comments on commit 98d87bb

Please sign in to comment.