We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a46c240 commit 71dd4afCopy full SHA for 71dd4af
distutils/_msvccompiler.py
@@ -181,8 +181,7 @@ def _find_exe(exe, paths=None):
181
def _get_plat_to_vcvars():
182
# A map keyed by get_platform() return values to values accepted by
183
# 'vcvarsall.bat'.
184
- host_platform = get_host_platform()
185
- if host_platform == get_platform() and host_platform == "win-arm64":
+ if get_platform() == get_host_platform() == "win-arm64":
186
# Use the native MSVC host if the host platform would need expensive
187
# emulation for x86.
188
return {
0 commit comments