Skip to content

Commit

Permalink
update to latest Zig
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen Gutekanst <[email protected]>
  • Loading branch information
slimsag committed Oct 17, 2023
1 parent f5fe352 commit a3cee1e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 13 deletions.
2 changes: 1 addition & 1 deletion build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ pub fn build(b: *std.Build) void {
// Critically, this MUST NOT be included as a -D__kernel_ptr_semantics flag. If it is,
// then this macro will not be defined even if `defineCMacro` was also called!
lib.defineCMacro("__kernel_ptr_semantics", "");
@import("xcode_frameworks").addPaths(b, lib);
@import("xcode_frameworks").addPaths(lib);
}

const include_src_flag = "-Isrc";
Expand Down
22 changes: 10 additions & 12 deletions build.zig.zon
Original file line number Diff line number Diff line change
Expand Up @@ -2,34 +2,32 @@
.name = "glfw",
.version = "0.0.0",
.paths = .{
"src/",
"include/",
"src/",
"build.zig",
"build.zig.zon",
"CONTRIBUTORS.md",
"LICENSE.md",
"README.md",
"CONTRIBUTORS.md",
".gitignore",
".gitattributes",
"update.sh",
"verify.sh",
},
.dependencies = .{
.xcode_frameworks = .{
.url = "https://github.com/hexops/xcode-frameworks-pkg/archive/f8b854f9a1f4b4602b4f998ee42588d524d44e52.tar.gz",
.hash = "1220ab440d1b8484038d619f743ef6a71e3683d13152eae941aa2d6bcb12fcea3135",
.url = "https://github.com/hexops/xcode-frameworks/archive/0f39f8c267cdcc15577002c95256078279de74a9.tar.gz",
.hash = "122081d29a9eb0fdf2e3f5913f77f066c757b80f3df74484f19c2e0d9169bda4209c",
},
.vulkan_headers = .{
.url = "https://pkg.machengine.org/vulkan-headers/fc495148a910ac7817ce0ec2d5948231806f2ac0.tar.gz",
.hash = "12209aeba80369fa8638b82179b47e6742adb98a3a5b01bc518565504a922baad3e4",
.url = "https://pkg.machengine.org/vulkan-headers/1feb2d841870f7461c28b95549cb707440226138.tar.gz",
.hash = "12209e716013e33618aaf5d915c6f2d196922b36aa16e06b52d7c28eafb2b3da0f4e",
},
.wayland_headers = .{
.url = "https://pkg.machengine.org/wayland-headers/032cc655997230a3fa02e24b9dcf4936ea6f180f.tar.gz",
.hash = "12200ca4e4528fee3d3da8b5bb0b590146e3983d7c355da481d2590b519052449ba2",
.url = "https://pkg.machengine.org/wayland-headers/651515e2d6deb69f0e5ddc39e6f921b33abaf9d6.tar.gz",
.hash = "1220552bb224e57205049e1c47be8d078a3dc09cb772c0c2e9dea09e452d0c5d6adf",
},
.x11_headers = .{
.url = "https://pkg.machengine.org/x11-headers/a91f9bec9fa1e4efd13f6fa7987084627b74f32f.tar.gz",
.hash = "12200644e186f0b203485338d44d13c0aa418425d9e95d2f9d53d85511c0cd657cb7",
.url = "https://pkg.machengine.org/x11-headers/d5594ef666e51b2531511a15db03b5439e4c11e5.tar.gz",
.hash = "12208aaa9355611470ae1357dfa2fd8c86e61679c2a9d343a8afaf25d3826a893111",
},
},
}

0 comments on commit a3cee1e

Please sign in to comment.