commit:     850d5e6b5cd12da2ad9bc37d3b21b87ef210c7f7
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Mar  7 04:49:58 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Mar  7 04:59:51 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=850d5e6b

profiles/base: unmask >=dev-lang/rust-1.86.0[system-llvm]

For quite some time, we've had dev-lang/rust[system-llvm] masked because
Rust used to have many patches on top of its bundled LLVM.

Fortunately, these days, the situation is *far* better: the Rust developers
test new LLVM in CI, and they now only accept backports of upstream commits
for their copy. See 
https://rustc-dev-guide.rust-lang.org/backend/updating-llvm.html.

(This does also open the door to supporting multiple LLVM versions in Rust
at some point, but let's not go nuts yet; the page linked indicates they
support n-1 and n-2 of LLVM where possible.)

(Note also that while it may be *possible* to do that, I'm not yet sure if
we want to (or maybe we'd want to p.use.force the bundled LLVM version but
allow others) given there may well be latent issues exposed by LLVM updates
that haven't received a backport upstream and so on.)

Gradually unmask by only masking for <1.86.0 (as 1.86.0 is not yet released)
to avoid making users rebuild current/older versions for this change.

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

 profiles/base/package.use.stable.mask | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/profiles/base/package.use.stable.mask 
b/profiles/base/package.use.stable.mask
index b92c0566396a..af3766938bf4 100644
--- a/profiles/base/package.use.stable.mask
+++ b/profiles/base/package.use.stable.mask
@@ -4,6 +4,11 @@
 # New entries go on top.
 # Please use the same syntax as in package.use.mask.
 
+# Sam James <[email protected]> (2025-03-07)
+# Gradually unmask for newer Rust to avoid making users recompile for
+# the change. See bug #735154.
+<dev-lang/rust-1.86 system-llvm
+
 # Arthur Zamarin <[email protected]> (2025-02-03)
 # Requires dev-util/shelltestrunner
 app-arch/mt-st test
@@ -154,12 +159,6 @@ dev-perl/Template-Toolkit gd
 media-fonts/unifont utils fontforge
 media-video/vdrsync dvdr
 
-# Georgy Yakovlev <[email protected]> (2019-05-10)
-# needs llvm slots which are not stable #678908
-# also prone to weird compilation failures
-# masking this for now, will readjust as situation changes
->=dev-lang/rust-1.34 system-llvm
-
 # Mart Raudsepp <[email protected]> (2019-04-14)
 # Needs media-plugins/gst-plugins-chromaprint, which is not stable
 # anywhere yet.

Reply via email to