core: update to latest Zig version

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2023-03-11 20:13:50 -07:00
parent 51b0e8695f
commit 729ffa2d17
4 changed files with 3 additions and 3 deletions

View file

@ -50,7 +50,7 @@ pub fn Sdk(comptime deps: anytype) type {
const lib = b.addSharedLibrary(.{ .name = "machcore", .root_source_file = .{ .path = "src/platform/libmachcore.zig" }, .target = target, .optimize = optimize });
lib.main_pkg_path = "src/";
const app_module = b.createModule(.{
.source_file = .{ .path = "src/platform/libmachcore.zig" },
.source_file = .{ .path = "src/platform/libmachcore_app.zig" },
});
lib.addModule("app", app_module);
lib.addModule("glfw", deps.glfw.module(b));