Commit a474669 1 parent 31689fc commit a474669 Copy full SHA for a474669
File tree 3 files changed +22
-13
lines changed
3 files changed +22
-13
lines changed Original file line number Diff line number Diff line change @@ -87,12 +87,15 @@ jobs:
87
87
88
88
- name : setup Rust 🦀
89
89
run : |
90
+
91
+ #? install rust version 1.77.2
92
+ rustup toolchain install 1.77.2
93
+
90
94
if [[ $GHA_aarch64 == 'true' ]];then
91
- rustup target add aarch64-unknown-linux-gnu
95
+ rustup target add aarch64-unknown-linux-gnu --toolchain 1.77.2
92
96
fi
93
97
94
- #? install rust version
95
- rustup install 1.77.2
98
+ #? set default toolchain
96
99
rustup default 1.77.2
97
100
98
101
#? https://github.com/mozilla/sccache#known-caveats
Original file line number Diff line number Diff line change @@ -187,18 +187,21 @@ jobs:
187
187
188
188
- name : setup Rust 🦀
189
189
run : |
190
+
191
+ #? install rust version 1.77.2
192
+ rustup toolchain install 1.77.2
193
+
190
194
if [[ $GHA_ARCH == 'x86_64' ]];then
191
- rustup target add x86_64-apple-darwin
195
+ rustup target add x86_64-apple-darwin --toolchain 1.77.2
192
196
else
193
- rustup target add aarch64-apple-darwin
197
+ rustup target add aarch64-apple-darwin --toolchain 1.77.2
194
198
fi
195
199
200
+ #? set default toolchain
201
+ rustup default 1.77.2
202
+
196
203
#? https://github.com/mozilla/sccache#known-caveats
197
204
export CARGO_INCREMENTAL=0
198
-
199
- #? install rust version
200
- rustup install 1.77.2
201
- rustup default 1.77.2
202
205
env :
203
206
GHA_ARCH : ${{matrix.arch}}
204
207
Original file line number Diff line number Diff line change @@ -208,16 +208,19 @@ jobs:
208
208
209
209
- name : setup Rust 🦀
210
210
run : |
211
+
212
+ #? install rust version 1.77.2
213
+ rustup toolchain install 1.77.2
214
+
211
215
if [[ $GHA_aarch64 == 'true' ]];then
212
- rustup target add aarch64-pc-windows-msvc
216
+ rustup target add aarch64-pc-windows-msvc --toolchain 1.77.2
213
217
elif [[ $GHA_32bit == 'true' ]];then
214
- rustup target add i686-pc-windows-msvc
218
+ rustup target add i686-pc-windows-msvc --toolchain 1.77.2
215
219
else
216
220
rustup target add x86_64-pc-windows-msvc
217
221
fi
218
222
219
- #? install rust version
220
- rustup install 1.77.2
223
+ #? set default toolchain
221
224
rustup default 1.77.2
222
225
223
226
#? https://github.com/mozilla/sccache#known-caveats
You can’t perform that action at this time.
0 commit comments