diff options
author | 2024-11-09 20:41:39 +1000 | |
---|---|---|
committer | 2024-11-09 20:49:59 +1000 | |
commit | c5f28a3d0a5b4ab6959b9223e6299e8502e0b7bd (patch) | |
tree | 50533f6645c089225b36c02eb4945093dfb78f84 /eclass | |
parent | dev-python/anyio: Stabilize 4.6.2_p1 arm64, #943083 (diff) | |
download | gentoo-c5f28a3d0a5b4ab6959b9223e6299e8502e0b7bd.tar.gz gentoo-c5f28a3d0a5b4ab6959b9223e6299e8502e0b7bd.tar.bz2 gentoo-c5f28a3d0a5b4ab6959b9223e6299e8502e0b7bd.zip |
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 <kangie@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/rust.eclass | 2 |
1 files changed, 1 insertions, 1 deletions
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 |