eclass/rust: Sync with Gentoo

It's from Gentoo commit 40206b0041b181207dd0602fde77ea37397dbcec.
This commit is contained in:
Flatcar Buildbot 2025-02-10 07:09:15 +00:00
parent 7781349adc
commit 6a5d91cb52

View File

@ -67,6 +67,7 @@ fi
# @DESCRIPTION:
# Definitive list of Rust slots and the associated LLVM slot, newest first.
declare -A -g -r _RUST_LLVM_MAP=(
["1.84.1"]=19
["1.84.0"]=19
["1.83.0"]=19
["1.82.0"]=19
@ -79,7 +80,6 @@ declare -A -g -r _RUST_LLVM_MAP=(
["1.75.0"]=17
["1.74.1"]=17
["1.71.1"]=16
["1.54.0"]=12
)
# @ECLASS_VARIABLE: _RUST_SLOTS_ORDERED
@ -89,6 +89,7 @@ declare -A -g -r _RUST_LLVM_MAP=(
# While _RUST_LLVM_MAP stores useful info about the relationship between Rust and LLVM slots,
# this array is used to store the Rust slots in a more convenient order for iteration.
declare -a -g -r _RUST_SLOTS_ORDERED=(
"1.84.1"
"1.84.0"
"1.83.0"
"1.82.0"
@ -101,7 +102,6 @@ declare -a -g -r _RUST_SLOTS_ORDERED=(
"1.75.0"
"1.74.1"
"1.71.1"
"1.54.0"
)
# == user control knobs ==