aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2021-08-14 14:40:15 -0700
committerJussi Pakkanen <jpakkane@gmail.com>2021-08-14 14:40:15 -0700
commitdfe0420f5d31a60b5339d66309cd334bcef1f459 (patch)
treef81b9bb404779e460a53427ae1c28cb1965427a9
parent75688240cfca7eed08c2754daa784c9bd1a70a73 (diff)
downloadmeson-clangclrust.zip
meson-clangclrust.tar.gz
meson-clangclrust.tar.bz2
Disable Rust + clangcl.clangclrust
-rwxr-xr-xrun_project_tests.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/run_project_tests.py b/run_project_tests.py
index 45cd266..98066a6 100755
--- a/run_project_tests.py
+++ b/run_project_tests.py
@@ -1010,6 +1010,9 @@ def has_broken_compiler_combination() -> bool:
# Rust and vs2017 do not work together. But only with 32 bits.
if os.environ['VisualStudioVersion'] == '15.0' and os.environ['Platform'] == 'x86':
return True
+ # Clang-cl also fails with Rust.
+ if shutil.which('cl') is None and shutil('clang-cl'):
+ return True
return False
def should_skip_rust(backend: Backend) -> bool: