Use clang instead of cc

This commit is contained in:
Alex Crichton 2015-09-12 16:35:52 -07:00
parent 83a30491ce
commit 3f07aebd1d
1 changed files with 3 additions and 0 deletions

View File

@ -8,6 +8,9 @@ fi
export HOST=$ARCH-$OS
# clang has better error messages and implements alignof more broadly
export CC=clang
if [ "$TARGET" = "" ]; then
# Download and install the relevant target locally, then run tests
curl -sO https://static.rust-lang.org/dist/rust-$TRAVIS_RUST_VERSION-$HOST.tar.gz