Only install gcc-multilib when necessary

This commit is contained in:
Alex Crichton 2015-09-17 17:46:58 -07:00
parent d9962f4bd1
commit d86471cb4a
2 changed files with 4 additions and 4 deletions

View file

@ -34,10 +34,6 @@ matrix:
- os: linux
env: TARGET=aarch64-unknown-linux-gnu
rust: nightly-2015-09-08
addons:
apt:
packages:
- gcc-multilib
notifications:
email:
on_success: never

View file

@ -57,6 +57,10 @@ else
# clang has better error messages and implements alignof more broadly
export CC=clang
if [ "$TARGET" = "i686-unknown-linux-gnu" ]; then
sudo apt-get install gcc-multilib
fi
fi
mkdir .cargo