We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d669d3c commit fa96301Copy full SHA for fa96301
ci/install-rust.sh
@@ -10,11 +10,10 @@ if [ -n "$TOOLCHAIN" ]; then
10
else
11
# Pin the nightly version as newer nightly versions break CI,
12
# 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
+ case "$TARGET" in
+ *android*) toolchain=nightly-2022-10-09;;
+ *) toolchain=nightly;;
+ esac
18
fi
19
if [ "$OS" = "windows" ]; then
20
: "${TARGET?The TARGET environment variable must be set.}"
0 commit comments