From e3291e3012c4dcef340c881cbc412f293d3e7834 Mon Sep 17 00:00:00 2001 From: Mike Date: Mon, 21 Dec 2020 22:14:32 -0800 Subject: [PATCH] dont foget windows --- zig-ecs/build.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zig-ecs/build.zig b/zig-ecs/build.zig index 324c12c..1fb580d 100644 --- a/zig-ecs/build.zig +++ b/zig-ecs/build.zig @@ -29,7 +29,7 @@ pub fn build(b: *Builder) void { // first element in the list is added as "run" so "zig build run" works if (i == 0) { - exe.setOutputDir(std.fs.path.joinPosix(b.allocator, &[_][]const u8{ b.cache_root, "bin" }) catch unreachable); + exe.setOutputDir(std.fs.path.join(b.allocator, &[_][]const u8{ b.cache_root, "bin" }) catch unreachable); const run_exe_step = b.step("run", b.fmt("run {}.zig", .{name})); run_exe_step.dependOn(&run_cmd.step); }