Skip to content

Commit

Permalink
update to Zig 2024.05
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
  • Loading branch information
emidoots committed Jun 2, 2024
1 parent 0b30ca0 commit 2666ae1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# Cheers!
# -andrewrk

zig-cache/
.zig-cache/
zig-out/
/release/
/debug/
Expand Down
4 changes: 2 additions & 2 deletions build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ pub fn build(b: *std.Build) void {
});

const module = b.addModule("mach-flac", .{
.root_source_file = .{ .path = "src/lib.zig" },
.root_source_file = b.path("src/lib.zig"),
});
module.linkLibrary(flac_dep.artifact("flac"));

const main_test = b.addTest(.{
.root_source_file = .{ .path = "src/lib.zig" },
.root_source_file = b.path("src/lib.zig"),
.target = target,
.optimize = optimize,
});
Expand Down
8 changes: 4 additions & 4 deletions build.zig.zon
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@
},
.dependencies = .{
.flac = .{
.url = "https://pkg.machengine.org/flac/d0f462e0dba8d51ed196a2fc97871d1a758b8ae0.tar.gz",
.hash = "12205f111a3ae8757e380397d772ef7974fa4ba7d1617cb3f415cb71c09f27daa285",
.url = "https://pkg.machengine.org/flac/b557da42d99e051fcf81088589054ac5a722ee1c.tar.gz",
.hash = "12202f50f0f9689298e98050be34a5227b285495c4cfc0238e6c92ff3e3c0b090761",
},
.linux_audio_headers = .{
.url = "https://pkg.machengine.org/linux-audio-headers/c22324c2be215b49078d369cff9b0c49b0282e40.tar.gz",
.hash = "12207c50df3073e15cd0e8a1530937e0f8e224e02eda05953c703a6c69076576494a",
.url = "https://pkg.machengine.org/linux-audio-headers/55524472876fe73bac0dcaa11b38f92958751ad4.tar.gz",
.hash = "122042c20087cc1e40d24a61c9d725be36ac5914d6e87e1776cc3cfaecedbcc0be16",
},
},
}

0 comments on commit 2666ae1

Please sign in to comment.