authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2023-03-19 16:26:19-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2023-03-20 17:14:48-04:00
log626a75bbc21453237f95c186d1fea790f233bc58
treebcfc24ddeae78f2137b4f567585723a9cfdb1f25
parent5df31f3ef3d2c4640fa2c7fc9b03c83c6a8606ae

std.Build.RunStep: fix control flow with qemu+glibc logic


1 files changed, 2 insertions(+), 1 deletions(-)

lib/std/Build/RunStep.zig+2-1
...@@ -594,7 +594,8 @@ fn runCommand(...@@ -594,7 +594,8 @@ fn runCommand(
594 .qemu => |bin_name| {594 .qemu => |bin_name| {
595 if (b.enable_qemu) {595 if (b.enable_qemu) {
596 const glibc_dir_arg = if (need_cross_glibc)596 const glibc_dir_arg = if (need_cross_glibc)
597 b.glibc_runtimes_dir orelse return597 b.glibc_runtimes_dir orelse
598 return failForeign(self, "--glibc-runtimes", argv[0], exe)
598 else599 else
599 null;600 null;
600601