From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3C528158042 for ; Sat, 9 Nov 2024 10:50:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 93414E088A; Sat, 9 Nov 2024 10:50:11 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 79DE4E088A for ; Sat, 9 Nov 2024 10:50:11 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 97ECC335CAF for ; Sat, 9 Nov 2024 10:50:10 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 08A3F18DD for ; Sat, 9 Nov 2024 10:50:09 +0000 (UTC) From: "Matt Jolly" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matt Jolly" Message-ID: <1731149399.c5f28a3d0a5b4ab6959b9223e6299e8502e0b7bd.kangie@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/ X-VCS-Repository: repo/gentoo X-VCS-Files: eclass/rust.eclass X-VCS-Directories: eclass/ X-VCS-Committer: kangie X-VCS-Committer-Name: Matt Jolly X-VCS-Revision: c5f28a3d0a5b4ab6959b9223e6299e8502e0b7bd X-VCS-Branch: master Date: Sat, 9 Nov 2024 10:50:09 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 5163ab66-2809-4df7-b7cb-e43c865103c6 X-Archives-Hash: 90a1fe9cda11f8f5b018908531ef0cf0 commit: c5f28a3d0a5b4ab6959b9223e6299e8502e0b7bd Author: Matt Jolly gentoo org> AuthorDate: Sat Nov 9 10:41:39 2024 +0000 Commit: Matt Jolly gentoo org> CommitDate: Sat Nov 9 10:49:59 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5f28a3d rust.eclass: Fix conditional for ensuring that RUST_MIN_VER is set The check was negated meaning that RUST_MIN_VER would only be set when it was not required. Signed-off-by: Matt Jolly gentoo.org> eclass/rust.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/rust.eclass b/eclass/rust.eclass index 08f935a821a8..ca71c6535061 100644 --- a/eclass/rust.eclass +++ b/eclass/rust.eclass @@ -144,7 +144,7 @@ _rust_set_globals() { # If RUST_MIN_VER is older than our oldest slot we'll just set it to that # internally so we don't have to worry about it later. - if ! ver_test "${_RUST_SLOTS_ORDERED[-1]}" -gt "${RUST_MIN_VER:-0}"; then + if ver_test "${_RUST_SLOTS_ORDERED[-1]}" -gt "${RUST_MIN_VER:-0}"; then RUST_MIN_VER="${_RUST_SLOTS_ORDERED[-1]}" fi