Skip to content

Commit ac5c2e2

Browse files
committed
wrong conditional for riscv64gc-unknown-linux-gnu check
1 parent a89e7c8 commit ac5c2e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ci/test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ 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
51+
elif [[ "${TARGET}" == "riscv64gc-unknown-linux-gnu" ]]; then
5252
# FIXME: riscv64gc-unknown-linux-gnu is broken on rustc 1.75, see https://github.com/cross-rs/cross/issues/1423
5353
rustup toolchain add 1.74
5454
CROSS+=("+1.74")

0 commit comments

Comments
 (0)