Only install gcc-multilib when necessary
This commit is contained in:
parent
d9962f4bd1
commit
d86471cb4a
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue