Skip to content

Commit

Permalink
Fix build errors
Browse files Browse the repository at this point in the history
  • Loading branch information
chip2n committed May 17, 2024
1 parent ca8c101 commit 58f524e
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 @@ -7,19 +7,19 @@ pub fn build(b: *std.Build) void {

_ = b.addModule(
"obj",
.{ .root_source_file = .{ .path = "src/main.zig" } },
.{ .root_source_file = b.path("src/main.zig") },
);

const lib = b.addStaticLibrary(.{
.name = "zig-obj",
.root_source_file = .{ .path = "src/main.zig" },
.root_source_file = b.path("src/main.zig"),
.target = target,
.optimize = optimize,
});
b.installArtifact(lib);

const main_tests = b.addTest(.{
.root_source_file = .{ .path = "test.zig" },
.root_source_file = b.path("test.zig"),
.target = target,
.optimize = optimize,
});
Expand Down

0 comments on commit 58f524e

Please sign in to comment.