File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -207,7 +207,7 @@ extends:
207207 apt -y install gcc-multilib
208208 apt -y install libssl-dev
209209 apt -y install pkg-config
210- rustup default stable-aarch64-unknown-linux-musl
210+ msrustup default stable-aarch64-unknown-linux-musl
211211 if ((openssl version -d) -match 'OPENSSLDIR: "(?<dir>.*?)"') {
212212 $env:OPENSSL_LIB_DIR = $matches['dir']
213213 }
Original file line number Diff line number Diff line change @@ -124,14 +124,14 @@ function Find-LinkExe {
124124}
125125
126126$channel = ' stable'
127- if ($null -ne (Get-Command rustup - ErrorAction Ignore)) {
128- $rustup = ' rustup'
129- } elseif ($null -ne (Get-Command msrustup - ErrorAction Ignore)) {
127+ if ($null -ne (Get-Command msrustup - CommandType Application - ErrorAction Ignore)) {
130128 $rustup = ' msrustup'
131129 $channel = ' ms-stable'
132130 if ($architecture -eq ' current' ) {
133131 $env: MSRUSTUP_TOOLCHAIN = " $architecture "
134132 }
133+ } elseif ($null -ne (Get-Command rustup - CommandType Application - ErrorAction Ignore)) {
134+ $rustup = ' rustup'
135135} else {
136136 $rustup = ' echo'
137137}
You can’t perform that action at this time.
0 commit comments