We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8506802 commit 3c16049Copy full SHA for 3c16049
1 file changed
pylib/gyp/MSVSVersion.py
@@ -109,7 +109,15 @@ 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 = (
113
+ "amd64"
114
+ if is_host_arch_x64
115
+ else (
116
+ "arm64"
117
+ if os.environ.get("PROCESSOR_ARCHITECTURE") == "ARM64"
118
+ else "x86"
119
+ )
120
121
msvc_target_arch = {"x64": "amd64"}.get(target_arch, target_arch)
122
arg = host_arch
123
if host_arch != msvc_target_arch:
0 commit comments