rust: add conflicts with gcc >= 13 (#44404)

This commit is contained in:
Teague Sterling 2024-05-27 11:32:48 -07:00 committed by GitHub
parent a097f7791b
commit 4007f8726d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -86,6 +86,8 @@ class Rust(Package):
# src/llvm-project/llvm/cmake/modules/CheckCompilerVersion.cmake
conflicts("%gcc@:7.3", when="@1.73:", msg="Host GCC version must be at least 7.4")
# https://github.com/rust-lang/llvm-project/commit/4d039a7a71899038b3bc6ed6fe5a8a48d915caa0
conflicts("%gcc@13:", when="@:1.63", msg="Rust<1.64 not compatible with GCC>=13")
extendable = True
executables = ["^rustc$", "^cargo$"]