Skip to content

Commit

Permalink
CI: Use an old nightly for all Android targets
Browse files Browse the repository at this point in the history
Signed-off-by: Yuki Okushi <jtitor@2k36.org>
  • Loading branch information
JohnTitor committed Nov 4, 2022
1 parent d669d3c commit fa96301
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions ci/install-rust.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,10 @@ if [ -n "$TOOLCHAIN" ]; then
else
# Pin the nightly version as newer nightly versions break CI,
# https://github.com/rust-lang/rust/issues/103673 contains related information.
if [ "$TARGET" = "x86_64-linux-android" ]; then
toolchain=nightly-2022-10-09
else
toolchain=nightly
fi
case "$TARGET" in
*android*) toolchain=nightly-2022-10-09;;
*) toolchain=nightly;;
esac
fi
if [ "$OS" = "windows" ]; then
: "${TARGET?The TARGET environment variable must be set.}"
Expand Down

0 comments on commit fa96301

Please sign in to comment.