Skip to content

Commit

Permalink
update to latest build API
Browse files Browse the repository at this point in the history
  • Loading branch information
alichraghi authored and slimsag committed Jan 11, 2024
1 parent 559a041 commit f0a0367
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ pub fn build(b: *std.Build) void {

lib.defineCMacro("HAVE_UNISTD_H", "1");
lib.addCSourceFiles(.{ .files = &sources, .flags = &.{} });
if (target.toTarget().os.tag == .macos) lib.addCSourceFile(.{
if (target.result.os.tag == .macos) lib.addCSourceFile(.{
.file = .{ .path = "src/base/ftmac.c" },
.flags = &.{},
});
Expand Down
4 changes: 2 additions & 2 deletions build.zig.zon
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
},
.dependencies = .{
.brotli = .{
.url = "https://pkg.machengine.org/brotli/13f8e428c00cc28b051f5c05e528b0ab65b0c834.tar.gz",
.hash = "1220682fcfe1caaa9160a6e6243821c21f0c080e4150c9e100f81e969a407a34d432",
.url = "https://pkg.machengine.org/brotli/62ab0d6a477ba89cbca5c690369bfe37cf56ff79.tar.gz",
.hash = "1220029950e0c3d0828f39aae7e7b9cda366cc5d2d23df625587307f4b5c18fd1307",
},
},
}

0 comments on commit f0a0367

Please sign in to comment.