File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -207,7 +207,7 @@ extends:
207
207
apt -y install gcc-multilib
208
208
apt -y install libssl-dev
209
209
apt -y install pkg-config
210
- rustup default stable-aarch64-unknown-linux-musl
210
+ msrustup default stable-aarch64-unknown-linux-musl
211
211
if ((openssl version -d) -match 'OPENSSLDIR: "(?<dir>.*?)"') {
212
212
$env:OPENSSL_LIB_DIR = $matches['dir']
213
213
}
Original file line number Diff line number Diff line change @@ -124,14 +124,14 @@ function Find-LinkExe {
124
124
}
125
125
126
126
$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)) {
130
128
$rustup = ' msrustup'
131
129
$channel = ' ms-stable'
132
130
if ($architecture -eq ' current' ) {
133
131
$env: MSRUSTUP_TOOLCHAIN = " $architecture "
134
132
}
133
+ } elseif ($null -ne (Get-Command rustup - CommandType Application - ErrorAction Ignore)) {
134
+ $rustup = ' rustup'
135
135
} else {
136
136
$rustup = ' echo'
137
137
}
You can’t perform that action at this time.
0 commit comments