summaryrefslogtreecommitdiff
path: root/eclass/rust.eclass
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-12-23 06:31:00 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-12-23 06:31:00 +0000
commit338095605b6c9c82690f77f27a32490c9a57bdcb (patch)
tree72a4d7ec7ba10ea6da4d4f7d25b68915b12edde6 /eclass/rust.eclass
parent5a2cecfc8661e1d3a762adf05cf8eb142cd41710 (diff)
gentoo auto-resync : 23:12:2024 - 06:31:00
Diffstat (limited to 'eclass/rust.eclass')
-rw-r--r--eclass/rust.eclass5
1 files changed, 2 insertions, 3 deletions
diff --git a/eclass/rust.eclass b/eclass/rust.eclass
index a7199f984af8..30b6468d2a9b 100644
--- a/eclass/rust.eclass
+++ b/eclass/rust.eclass
@@ -471,9 +471,8 @@ get_rust_prefix() {
local prefix=${BROOT}
[[ ${1} == -d ]] && prefix=${ESYSROOT}
- local slot rust_type
- read -r slot rust_type <<< $(_get_rust_slot "$@")
- get_rust_path "${prefix}" "${slot}" "${rust_type}"
+ _get_rust_slot "$@"
+ get_rust_path "${prefix}" "${RUST_SLOT}" "${RUST_TYPE}"
}
# @FUNCTION: rust_prepend_path