ci: fix execution condition for install-clang

This commit is contained in:
Pietro Albini 2019-10-28 10:03:55 +01:00
parent 9c44ca231a
commit c854c4482b
No known key found for this signature in database
GPG key ID: 3E06ABE80BAAF19C

View file

@ -17,7 +17,7 @@ if isMacOS; then
# Configure `AR` specifically so rustbuild doesn't try to infer it as
# `clang-ar` by accident.
ciCommandSetEnv AR "ar"
elif isWindows; then
elif isWindows && [[ -z ${MINGW_URL+x} ]]; then
# If we're compiling for MSVC then we, like most other distribution builders,
# switch to clang as the compiler. This'll allow us eventually to enable LTO
# amongst LLVM and rustc. Note that we only do this on MSVC as I don't think