Skip to content

Commit c854c44

Browse files
committed
ci: fix execution condition for install-clang
1 parent 9c44ca2 commit c854c44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ci/scripts/install-clang.sh

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

0 commit comments

Comments
 (0)