Skip to content

Commit ef481a6

Browse files
committed
build: 0.11: remove output_dir
see ziglang/zig#14951
1 parent 4b7a579 commit ef481a6

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

build.zig

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -719,16 +719,12 @@ fn createBuildExeStep(b: *Builder, path: []const u8, target: std.zig.CrossTarget
719719
const i = std.mem.indexOf(u8, basename, ".zig") orelse basename.len;
720720
const name = basename[0..i];
721721

722-
const output_dir_rel = std.fmt.allocPrint(b.allocator, "zig-out/{s}", .{name}) catch unreachable;
723-
const output_dir = b.pathFromRoot(output_dir_rel);
724-
725722
const step = b.addExecutable(.{
726723
.name = name,
727724
.root_source_file = .{ .path = path },
728725
.optimize = mode,
729726
.target = target,
730727
.link_libc = true,
731-
.output_dir = output_dir,
732728
});
733729
step.addIncludePath(.{ .path = "src" });
734730

0 commit comments

Comments
 (0)