Skip to content

Commit

Permalink
Merge pull request #50 from moderation/main
Browse files Browse the repository at this point in the history
Update for latest Zig
  • Loading branch information
andrewrk authored May 30, 2024
2 parents a45329e + c1e54ca commit 53c5d1d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
/zig-cache
/zig-out
.zig-cache/
/zig-out/
4 changes: 2 additions & 2 deletions build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ pub fn build(b: *std.Build) void {

const exe = b.addExecutable(.{
.name = "poop",
.root_source_file = .{ .path = "src/main.zig" },
.root_source_file = b.path("src/main.zig"),
.target = target,
.optimize = optimize,
.strip = b.option(bool, "strip", "strip the binary"),
Expand Down Expand Up @@ -38,7 +38,7 @@ pub fn build(b: *std.Build) void {
const t = resolved_target.result;
const rel_exe = b.addExecutable(.{
.name = "poop",
.root_source_file = .{ .path = "src/main.zig" },
.root_source_file = b.path("src/main.zig"),
.target = resolved_target,
.optimize = .ReleaseSafe,
.strip = true,
Expand Down

0 comments on commit 53c5d1d

Please sign in to comment.