Skip to content

Commit 121c759

Browse files
authored
Merge pull request #85465 from speednoisemovement/shorten_arm
build.ps1: fix toolchain name trimming for arm64
2 parents 4bd370f + c7d2531 commit 121c759

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/build.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1366,7 +1366,7 @@ function Get-Dependencies {
13661366

13671367
# TODO(compnerd) stamp/validate that we need to re-extract
13681368
New-Item -ItemType Directory -ErrorAction Ignore $BinaryCache\toolchains | Out-Null
1369-
Extract-Toolchain "$PinnedToolchain.exe" $BinaryCache $PinnedToolchain.TrimStart("swift-").TrimEnd("-a-windows10")
1369+
Extract-Toolchain "$PinnedToolchain.exe" $BinaryCache $PinnedToolchain.TrimStart("swift-").TrimEnd("-arm64").TrimEnd("-a-windows10")
13701370
Write-Success "Swift Toolchain $PinnedVersion"
13711371

13721372
if ($Android) {

0 commit comments

Comments
 (0)