We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0b10137 commit 46fac93Copy full SHA for 46fac93
1 file changed
pylib/gyp/MSVSVersion.py
@@ -109,7 +109,9 @@ def _SetupScriptInternal(self, target_arch):
109
)
110
111
# Always use a native executable, cross-compiling if necessary.
112
- host_arch = "amd64" if is_host_arch_x64 else ("arm64" if os.environ.get("PROCESSOR_ARCHITECTURE") == "ARM64" else "x86")
+ host_arch = "amd64" if is_host_arch_x64 else (
113
+ "arm64" if os.environ.get("PROCESSOR_ARCHITECTURE") == "ARM64" else "x86"
114
+ )
115
msvc_target_arch = {"x64": "amd64"}.get(target_arch, target_arch)
116
arg = host_arch
117
if host_arch != msvc_target_arch:
0 commit comments