commit: 0673f2bd041bef4974b2f6b0745bae3059da0a3a
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri May 19 01:07:57 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri May 19 01:07:57 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0673f2bd
toolchain.eclass: add links/info about USE=rust for gcc-13
Signed-off-by: Sam James <sam <AT> gentoo.org>
eclass/toolchain.eclass | 3 +++
1 file changed, 3 insertions(+)
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index 36369bb8d193..87da1fba73c0 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -288,6 +288,9 @@ if [[ ${PN} != kgcc64 && ${PN} != gcc-* ]] ; then
tc_version_is_at_least 12.2.1_p20221203 ${PV} && IUSE+=" default-znow"
tc_version_is_at_least 12.2.1_p20221203 ${PV} && IUSE+="
default-stack-clash-protection"
tc_version_is_at_least 13.0.0_pre20221218 ${PV} && IUSE+=" modula2"
+ # 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"
fi