authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2017-09-30 20:10:09-04:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2017-09-30 20:10:09-04:00
log08708ea4dc3885fba8843142e0e0804f65bf0d76
treede72155fc668a0f34d7e74e95e8ca8fbb221d1fb
parentcd58b400110586bb0d0632dce0f667efbc3dbd88

fix typo in target_can_exec logic


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

src/target.cpp+1-1
...@@ -656,7 +656,7 @@ bool target_can_exec(const ZigTarget *host_target, const ZigTarget *guest_target...@@ -656,7 +656,7 @@ bool target_can_exec(const ZigTarget *host_target, const ZigTarget *guest_target
656 return true;656 return true;
657 }657 }
658658
659 if (guest_target->os == ZigLLVM_Win32 && guest_target->os == ZigLLVM_Win32 &&659 if (guest_target->os == ZigLLVM_Win32 && host_target->os == ZigLLVM_Win32 &&
660 host_target->arch.arch == ZigLLVM_x86_64 && guest_target->arch.arch == ZigLLVM_x86)660 host_target->arch.arch == ZigLLVM_x86_64 && guest_target->arch.arch == ZigLLVM_x86)
661 {661 {
662 // 64-bit windows can run 32-bit programs662 // 64-bit windows can run 32-bit programs