eclass/rust: Sync with Gentoo

It's from Gentoo commit f13c9d8e31c39070535a04d13a2f128f1b5b9999.
This commit is contained in:
Flatcar Buildbot 2025-02-25 12:34:28 +01:00 committed by Krzesimir Nowak
parent 26a8f5a800
commit 4a449e3454

View File

@ -67,6 +67,9 @@ fi
# @DESCRIPTION:
# Definitive list of Rust slots and the associated LLVM slot, newest first.
declare -A -g -r _RUST_LLVM_MAP=(
["9999"]=20
["1.86.0"]=19
["1.85.0"]=19
["1.84.1"]=19
["1.84.0"]=19
["1.83.0"]=19
@ -89,6 +92,9 @@ 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=(
"9999"
"1.86.0"
"1.85.0"
"1.84.1"
"1.84.0"
"1.83.0"