aboutsummaryrefslogtreecommitdiff
path: root/ci/install.sh
diff options
context:
space:
mode:
authorTill Höppner2016-02-25 19:19:57 +0100
committerTill Höppner2016-02-27 10:37:11 +0100
commitb082a83cafc872ea19d9792644c012b5f9b13974 (patch)
tree566375adcece17af79e9c566f6fd5620d78c5d4a /ci/install.sh
parent38c2f2fee156b188b08f632568b0ce8b444f2850 (diff)
downloadilc-b082a83cafc872ea19d9792644c012b5f9b13974.tar.gz
ilc-b082a83cafc872ea19d9792644c012b5f9b13974.tar.xz
ilc-b082a83cafc872ea19d9792644c012b5f9b13974.zip
Switch CI from nightly to 1.6v0.2.3.1v0.2.3
Switch to old version detection
Diffstat (limited to 'ci/install.sh')
-rw-r--r--ci/install.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/ci/install.sh b/ci/install.sh
index 81ff38c..e4bd198 100644
--- a/ci/install.sh
+++ b/ci/install.sh
@@ -24,6 +24,10 @@ EOF
# doesn't work for nightly
# version=$(rustc -V | cut -d' ' -f2)
version=$(rustc -V | cut -d' ' -f2 | cut -d'-' -f2)
+
+ if [ "$TARGET" = "x86_64-unknown-linux-musl" ]; then
+ version="nightly"
+ fi
tarball=rust-std-${version}-${TARGET}
curl -Os http://static.rust-lang.org/dist/${tarball}.tar.gz