Skip to content

Commit 0302533

Browse files
committed
fix incorrect merging and not have rustup add unspecified arch
1 parent 43a46f2 commit 0302533

File tree

13 files changed

+330
-369
lines changed

13 files changed

+330
-369
lines changed

build.ps1

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,9 @@ else {
205205
}
206206

207207
if (!$SkipBuild) {
208-
& $rustup target add --toolchain $channel $architecture
208+
if ($architecture -ne 'Current') {
209+
& $rustup target add --toolchain $channel $architecture
210+
}
209211

210212
if (Test-Path $target) {
211213
Remove-Item $target -Recurse -ErrorAction Ignore

0 commit comments

Comments
 (0)