From 55937dd8a963ac9a4053fd4918ca5619af894450 Mon Sep 17 00:00:00 2001 From: stanchyk7 <53874249+stanchyk7@users.noreply.github.com> Date: Sat, 23 Aug 2025 21:22:29 +0000 Subject: [PATCH] Update project_setup.ps1 for Zig 0.15.1 --- project_setup.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project_setup.ps1 b/project_setup.ps1 index e75e62e..e8bd89c 100644 --- a/project_setup.ps1 +++ b/project_setup.ps1 @@ -50,7 +50,7 @@ pub fn build(b: *std.Build) !void { return; } - const exe = b.addExecutable(.{ .name = "$PROJECT_NAME", .root_source_file = b.path("src/main.zig"), .optimize = optimize, .target = target }); + const exe = b.addExecutable(.{ .name = "$PROJECT_NAME", .root_module = b.createModule(.{ .root_source_file = b.path("src/main.zig"), .optimize = optimize, .target = target }) }); exe.linkLibrary(raylib_artifact); exe.root_module.addImport("raylib", raylib);