mirror of
https://github.com/ziglang/zig.git
synced 2026-01-20 14:25:16 +00:00
std.Build.RunStep: fix control flow with qemu+glibc logic
This commit is contained in:
parent
5df31f3ef3
commit
626a75bbc2
@ -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;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user