Skip to content

Commit

Permalink
updates for zig 0.13.0
Browse files Browse the repository at this point in the history
  • Loading branch information
brandtcormorant committed Aug 3, 2024
1 parent 4ad6838 commit a38a34c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
zig-cache/
zig-out/
.zig-cache/
6 changes: 3 additions & 3 deletions build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,20 @@ pub fn build(b: *std.Build) !void {

const lib = b.addStaticLibrary(.{
.name = "borsh",
.root_source_file = .{ .path = "src/root.zig" },
.root_source_file = b.path("src/root.zig"),
.target = target,
.optimize = optimize,
});

_ = b.addModule("borsh", .{
.root_source_file = .{ .path = "src/root.zig" },
.root_source_file = b.path("src/root.zig"),
.imports = &.{},
});

b.installArtifact(lib);

const tests = b.addTest(.{
.root_source_file = .{ .path = "src/root.zig" },
.root_source_file = b.path("src/root.zig"),
.target = target,
.optimize = optimize,
});
Expand Down

0 comments on commit a38a34c

Please sign in to comment.