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 0292085 commit cad96daCopy full SHA for cad96da
build.ps1
@@ -192,7 +192,9 @@ if ($null -ne $packageType) {
192
193
$BuildToolsPath = "${env:ProgramFiles(x86)}\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC"
194
195
- & $rustup default stable
+ if (!$usingADO) {
196
+ & $rustup default stable
197
+ }
198
199
## Test if Node is installed
200
## Skipping upgrade as users may have a specific version they want to use
@@ -261,7 +263,7 @@ else {
261
263
}
262
264
265
if (!$SkipBuild) {
- if ($architecture -ne 'Current') {
266
+ if ($architecture -ne 'Current' -and !$usingADO) {
267
& $rustup target add --toolchain $channel $architecture
268
269
0 commit comments