Skip to content

Commit fa96301

Browse files
committed
CI: Use an old nightly for all Android targets
Signed-off-by: Yuki Okushi <[email protected]>
1 parent d669d3c commit fa96301

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

ci/install-rust.sh

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,10 @@ if [ -n "$TOOLCHAIN" ]; then
1010
else
1111
# Pin the nightly version as newer nightly versions break CI,
1212
# https://github.com/rust-lang/rust/issues/103673 contains related information.
13-
if [ "$TARGET" = "x86_64-linux-android" ]; then
14-
toolchain=nightly-2022-10-09
15-
else
16-
toolchain=nightly
17-
fi
13+
case "$TARGET" in
14+
*android*) toolchain=nightly-2022-10-09;;
15+
*) toolchain=nightly;;
16+
esac
1817
fi
1918
if [ "$OS" = "windows" ]; then
2019
: "${TARGET?The TARGET environment variable must be set.}"

0 commit comments

Comments
 (0)