commit:     8cae9d4db1c14e18dafb28853f722aac6784b34a
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 30 05:56:25 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Apr 30 05:56:25 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8cae9d4d

toolchain.eclass: wire up TC_FEATURES for rust

Otherwise we don't actually end up adding a BDEPEND for USE=rust.

Closes: https://bugs.gentoo.org/930953
Signed-off-by: Sam James <sam <AT> gentoo.org>

 eclass/toolchain.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index a5d4345e7fbf..f475b76c8de1 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -320,7 +320,7 @@ if [[ ${PN} != kgcc64 && ${PN} != gcc-* ]] ; then
        # See https://gcc.gnu.org/pipermail/gcc-patches/2023-April/615944.html
        # and 
https://rust-gcc.github.io/2023/04/24/gccrs-and-gcc13-release.html for why
        # it was disabled in 13.
-       tc_version_is_at_least 14.0.0_pre20230423 ${PV} && IUSE+=" rust"
+       tc_version_is_at_least 14.0.0_pre20230423 ${PV} && IUSE+=" rust" 
TC_FEATURES+=( rust )
 fi
 
 if tc_version_is_at_least 10; then

Reply via email to