File tree 1 file changed +4
-2
lines changed
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 16
16
MSRV : 1.69.0
17
17
# Rust's Loongarch support merged in 1.71.0
18
18
MSRV_LOONGARCH : 1.71.0
19
+ # Minimal Rust version to support all 3 official OpenHarmony targets as tier2
20
+ MSRV_OHOS : 1.79.0
19
21
RUSTFLAGS : -Dwarnings
20
22
21
23
jobs :
@@ -247,7 +249,8 @@ jobs:
247
249
- name : setup Rust
248
250
uses : dtolnay/rust-toolchain@master
249
251
with :
250
- toolchain : ' ${{ env.MSRV }}'
252
+ # Use a newer version rustc if it is OpenHarmony, remove this workaround after MSRV is newer than 1.79.0
253
+ toolchain : " ${{ contains(matrix.target, 'ohos') && env.MSRV_OHOS || env.MSRV }}"
251
254
components : clippy
252
255
253
256
- name : install targets
@@ -262,7 +265,6 @@ jobs:
262
265
263
266
- name : before_cache_script
264
267
run : rm -rf $CARGO_HOME/registry/index
265
-
266
268
267
269
redox :
268
270
runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments