mirror of
https://github.com/ziglang/zig.git
synced 2026-11-22 04:37:39 -05:00
fix typo in target_can_exec logic
This commit is contained in:
1 parent
cd58b40011
commit
08708ea4dc
1 file changed
+1
-1
+1
-1
@@ -656,7 +656,7 @@ bool target_can_exec(const ZigTarget *host_target, const ZigTarget *guest_target
|
||||
return true;
|
||||
}
|
||||
|
||||
if (guest_target->os == ZigLLVM_Win32 && guest_target->os == ZigLLVM_Win32 &&
|
||||
if (guest_target->os == ZigLLVM_Win32 && host_target->os == ZigLLVM_Win32 &&
|
||||
host_target->arch.arch == ZigLLVM_x86_64 && guest_target->arch.arch == ZigLLVM_x86)
|
||||
{
|
||||
// 64-bit windows can run 32-bit programs
|
||||
|
||||
Reference in new issue
Block a user