Skip to content

Commit 81b9dcd

Browse files
committed
test riscv with rustc 1.74
1 parent ee77152 commit 81b9dcd

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

ci/test.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,10 @@ main() {
4848
# don't use xargo: should have native support just from rustc
4949
rustup toolchain add nightly
5050
CROSS+=("+nightly")
51+
elif (( "${TARGET}" != "riscv64gc-unknown-linux-gnu" )); then
52+
# FIXME: riscv64gc-unknown-linux-gnu is broken on rustc 1.75, see https://github.com/cross-rs/cross/issues/1423
53+
rustup toolchain add 1.74
54+
CROSS+=("+1.74")
5155
fi
5256

5357
if (( ${STD:-0} )); then
@@ -89,6 +93,7 @@ main() {
8993
popd
9094

9195
rm -rf "${td}"
96+
# thumb targets are tested in later steps
9297
elif [[ "${TARGET}" != thumb* ]]; then
9398
td=$(mkcargotemp -d)
9499

0 commit comments

Comments
 (0)