commit:     1fd4265df079cdf0569c8bc6b6c059a16d96d005
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Nov  9 07:20:57 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Nov  9 07:20:57 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1fd4265d

toolchain.eclass: call rust_pkg_setup for USE=rust

Followup to 583a1a9ac556d01e1b0df6fe64e67cb646fa4118. Noticed by inspection.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 eclass/toolchain.eclass | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index 6e3a974f373e..4d5973bb4959 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -595,6 +595,8 @@ toolchain_pkg_setup() {
        MAKEOPTS="--output-sync=line ${MAKEOPTS}"
 
        [[ -n ${TOOLCHAIN_HAS_TESTS} ]] && use test && python-any-r1_pkg_setup
+
+       _tc_use_if_iuse rust && rust_pkg_setup
 }
 
 #---->> src_unpack <<----

Reply via email to