rust: fix v1.78.0 instructions (#44127)

This commit is contained in:
Alec Scott 2024-05-14 08:14:34 -07:00 committed by Harmen Stoppels
parent b4aa2c3cab
commit db6ead6fc1

View file

@ -75,12 +75,14 @@ class Rust(Package):
depends_on("rust-bootstrap@nightly", type="build", when="@nightly") depends_on("rust-bootstrap@nightly", type="build", when="@nightly")
# Stable version dependencies # Stable version dependencies
depends_on("rust-bootstrap", type="build")
depends_on("rust-bootstrap@1.59:1.60", type="build", when="@1.60") depends_on("rust-bootstrap@1.59:1.60", type="build", when="@1.60")
depends_on("rust-bootstrap@1.64:1.65", type="build", when="@1.65") depends_on("rust-bootstrap@1.64:1.65", type="build", when="@1.65")
depends_on("rust-bootstrap@1.69:1.70", type="build", when="@1.70") depends_on("rust-bootstrap@1.69:1.70", type="build", when="@1.70")
depends_on("rust-bootstrap@1.72:1.73", type="build", when="@1.73") depends_on("rust-bootstrap@1.72:1.73", type="build", when="@1.73")
depends_on("rust-bootstrap@1.73:1.74", type="build", when="@1.74") depends_on("rust-bootstrap@1.73:1.74", type="build", when="@1.74")
depends_on("rust-bootstrap@1.74:1.75", type="build", when="@1.75") depends_on("rust-bootstrap@1.74:1.75", type="build", when="@1.75")
depends_on("rust-bootstrap@1.77:1.78", type="build", when="@1.78")
# src/llvm-project/llvm/cmake/modules/CheckCompilerVersion.cmake # 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") conflicts("%gcc@:7.3", when="@1.73:", msg="Host GCC version must be at least 7.4")