|
|
@ -1010,6 +1010,9 @@ def has_broken_compiler_combination() -> bool: |
|
|
|
# Rust and vs2017 do not work together. But only with 32 bits. |
|
|
|
# Rust and vs2017 do not work together. But only with 32 bits. |
|
|
|
if os.environ['VisualStudioVersion'] == '15.0' and os.environ['Platform'] == 'x86': |
|
|
|
if os.environ['VisualStudioVersion'] == '15.0' and os.environ['Platform'] == 'x86': |
|
|
|
return True |
|
|
|
return True |
|
|
|
|
|
|
|
# Clang-cl also fails with Rust. |
|
|
|
|
|
|
|
if shutil.which('cl') is None and shutil.which('clang-cl'): |
|
|
|
|
|
|
|
return True |
|
|
|
return False |
|
|
|
return False |
|
|
|
|
|
|
|
|
|
|
|
def should_skip_rust(backend: Backend) -> bool: |
|
|
|
def should_skip_rust(backend: Backend) -> bool: |
|
|
|