Skip to content

Commit

Permalink
Merge pull request #723 from ibillingsley/zig-0.13.0
Browse files Browse the repository at this point in the history
Fix Zig template for Zig 0.13.0
  • Loading branch information
aduros authored Jun 10, 2024
2 parents cfed30a + 0d2f288 commit 183a743
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions cli/assets/templates/zig/.gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
/.zig-cache
/zig-cache
/zig-out
2 changes: 1 addition & 1 deletion cli/assets/templates/zig/build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const std = @import("std");
pub fn build(b: *std.Build) !void {
const exe = b.addExecutable(.{
.name = "cart",
.root_source_file = .{ .path = "src/main.zig" },
.root_source_file = b.path("src/main.zig"),
.target = b.resolveTargetQuery(.{
.cpu_arch = .wasm32,
.os_tag = .freestanding,
Expand Down

0 comments on commit 183a743

Please sign in to comment.