commit:     35bfb4ded3912a4523c70cd53bac3648920e3d17
Author:     Matt Jolly <kangie <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 23 13:11:09 2025 +0000
Commit:     Matt Jolly <kangie <AT> gentoo <DOT> org>
CommitDate: Sun Feb 23 13:25:35 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35bfb4de

dev-lang/rust: 1.86: tighten RUST_M{AX,IN}_VER

The attempt to restrict to the latest 'stable' slot was actually
enabling use of Rust as far back as 1.83.0.

Closes: https://bugs.gentoo.org/950104
Signed-off-by: Matt Jolly <kangie <AT> gentoo.org>

 dev-lang/rust/rust-1.86.0_beta20250218.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-lang/rust/rust-1.86.0_beta20250218.ebuild 
b/dev-lang/rust/rust-1.86.0_beta20250218.ebuild
index 38296bf21ec0..c23793c89bc7 100644
--- a/dev-lang/rust/rust-1.86.0_beta20250218.ebuild
+++ b/dev-lang/rust/rust-1.86.0_beta20250218.ebuild
@@ -14,8 +14,8 @@ elif [[ ${PV} == *beta* ]]; then
        # While uncommon it is possible for feature changes within `beta` to 
result
        # in an older snapshot being unable to build a newer one without 
modifying the sources.
        # 'stable' releases should always be able to build a beta snapshot so 
just use those.
-       RUST_MAX_VER="$(ver_cut 1).$(($(ver_cut 2) - 1)).1"
-       RUST_MIN_VER="$(ver_cut 1).$(($(ver_cut 2) - 3)).0"
+       RUST_MAX_VER="$(ver_cut 1).$(($(ver_cut 2) - 1)).0"
+       RUST_MIN_VER="$(ver_cut 1).$(($(ver_cut 2) - 1)).0"
 else
        RUST_MIN_VER="$(ver_cut 1).$(($(ver_cut 2) - 1)).0"
 fi

Reply via email to