diff options
Diffstat (limited to 'ci/install.sh')
-rw-r--r-- | ci/install.sh | 4 |
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 |