diff options
| author | Pietro Albini <pietro@pietroalbini.org> | 2019-10-28 10:03:55 +0100 |
|---|---|---|
| committer | Pietro Albini <pietro@pietroalbini.org> | 2019-10-28 10:04:26 +0100 |
| commit | c854c4482b678c765a14c390565133dbadcc5490 (patch) | |
| tree | 2307b2818b86b82e4a3097cb8a88aa78f51d6c87 /src/ci/scripts | |
| parent | 9c44ca231af8d84ce44d80fa28a66c17eedc88c2 (diff) | |
| download | rust-c854c4482b678c765a14c390565133dbadcc5490.tar.gz rust-c854c4482b678c765a14c390565133dbadcc5490.zip | |
ci: fix execution condition for install-clang
Diffstat (limited to 'src/ci/scripts')
| -rwxr-xr-x | src/ci/scripts/install-clang.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ci/scripts/install-clang.sh b/src/ci/scripts/install-clang.sh index ccb6a0bd9dc..e9b685718e6 100755 --- a/src/ci/scripts/install-clang.sh +++ b/src/ci/scripts/install-clang.sh @@ -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 |
