commit 626a75bbc21453237f95c186d1fea790f233bc58 (tree)
parent 5df31f3ef3d2c4640fa2c7fc9b03c83c6a8606ae
Author: Andrew Kelley <andrew@ziglang.org>
Date: Sun, 19 Mar 2023 16:26:19 -0700
std.Build.RunStep: fix control flow with qemu+glibc logic
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lib/std/Build/RunStep.zig b/lib/std/Build/RunStep.zig
@@ -594,7 +594,8 @@ fn runCommand(
.qemu => |bin_name| {
if (b.enable_qemu) {
const glibc_dir_arg = if (need_cross_glibc)
- b.glibc_runtimes_dir orelse return
+ b.glibc_runtimes_dir orelse
+ return failForeign(self, "--glibc-runtimes", argv[0], exe)
else
null;