You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Avoid being run in a "Developer" shell since this script launches its own sub-shells targeting
176
176
# different architectures, and these variables cause confusion.
177
-
if ($null-ne$env:VSCMD_ARG_HOST_ARCH-or$null-ne$env:VSCMD_ARG_TGT_ARCH) {
177
+
if ($Env:VSCMD_ARG_HOST_ARCH-or$Env:VSCMD_ARG_TGT_ARCH) {
178
178
throw"At least one of VSCMD_ARG_HOST_ARCH and VSCMD_ARG_TGT_ARCH is set, which is incompatible with this script. Likely need to run outside of a Developer shell."
179
179
}
180
180
181
181
# Prevent elsewhere-installed swift modules from confusing our builds.
182
182
$env:SDKROOT=""
183
183
184
-
$BuildArchName=$env:PROCESSOR_ARCHITEW6432
185
-
if ($null-eq$BuildArchName) { $BuildArchName=$env:PROCESSOR_ARCHITECTURE }
0 commit comments