summaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-11-03 08:04:02 +0000
committerbors <bors@rust-lang.org>2022-11-03 08:04:02 +0000
commit875f3a69b10c3f59b51ecb152ac7a56c21050354 (patch)
tree1975f19d19401ed7da2a958468661d9bbee92011 /ci
parent301790eecd4aff79ad7286b05964af402d37d25b (diff)
parenteddc5a3fb936a61a8d6eaa4713ac2197a79b43a3 (diff)
downloadrust-libc-875f3a69b10c3f59b51ecb152ac7a56c21050354.tar.gz
Auto merge of #2990 - JohnTitor:revive-x86_64-android, r=JohnTitor
Revive `x86_64-linux-android` CI with an old nightly Signed-off-by: Yuki Okushi <jtitor@2k36.org>
Diffstat (limited to 'ci')
-rw-r--r--ci/install-rust.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/ci/install-rust.sh b/ci/install-rust.sh
index d7e2be8070..2840b7af9f 100644
--- a/ci/install-rust.sh
+++ b/ci/install-rust.sh
@@ -8,7 +8,13 @@ toolchain=
if [ -n "$TOOLCHAIN" ]; then
toolchain=$TOOLCHAIN
else
- toolchain=nightly
+ # 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
fi
if [ "$OS" = "windows" ]; then
: "${TARGET?The TARGET environment variable must be set.}"