commit:     cecf4748804bd1a878c94eb448540c29f2418c1a
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 18 02:49:49 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Sep 18 02:55:28 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cecf4748

dev-lang/rust-bin: drop USE=profiler in 1.81.0

This was dropped in upstream commit fd4fe7d129cac2b7a0668847117775ee23031771.

See https://github.com/rust-lang/rust/pull/125880. rust-demangler is no more.

For rust-bin *only*, USE=profiler was just used to control rust-demangler,
not whether rust-bin was built with the profiler runtime (obviously), so
we drop the USE flag for rust-bin.

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

 dev-lang/rust-bin/rust-bin-1.81.0.ebuild | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/dev-lang/rust-bin/rust-bin-1.81.0.ebuild 
b/dev-lang/rust-bin/rust-bin-1.81.0.ebuild
index e51aa66a54b1..bf78998761f4 100644
--- a/dev-lang/rust-bin/rust-bin-1.81.0.ebuild
+++ b/dev-lang/rust-bin/rust-bin-1.81.0.ebuild
@@ -38,7 +38,7 @@ SRC_URI+=" ppc64? ( elibc_musl? (
 LICENSE="|| ( MIT Apache-2.0 ) BSD BSD-1 BSD-2 BSD-4"
 SLOT="stable"
 KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
-IUSE="big-endian clippy cpu_flags_x86_sse2 doc prefix profiler rust-analyzer 
rust-src rustfmt"
+IUSE="big-endian clippy cpu_flags_x86_sse2 doc prefix rust-analyzer rust-src 
rustfmt"
 
 RDEPEND="
        >=app-eselect/eselect-rust-20190311
@@ -116,7 +116,6 @@ multilib_src_install() {
        local components="rustc,cargo,${std}"
        use doc && components="${components},rust-docs"
        use clippy && components="${components},clippy-preview"
-       use profiler && components="${components},rust-demangler-preview"
        use rustfmt && components="${components},rustfmt-preview"
        use rust-analyzer && 
components="${components},rust-analyzer-preview,${analysis}"
        # Rust component 'rust-src' is extracted from separate archive
@@ -154,7 +153,6 @@ multilib_src_install() {
        )
 
        use clippy && symlinks+=( clippy-driver cargo-clippy )
-       use profiler && symlinks+=( rust-demangler )
        use rustfmt && symlinks+=( rustfmt cargo-fmt )
        use rust-analyzer && symlinks+=( rust-analyzer )
 
@@ -202,9 +200,6 @@ multilib_src_install() {
                echo /usr/bin/clippy-driver >> "${T}/provider-${P}"
                echo /usr/bin/cargo-clippy >> "${T}/provider-${P}"
        fi
-       if use profiler; then
-               echo /usr/bin/rust-demangler >> "${T}/provider-${P}"
-       fi
        if use rustfmt; then
                echo /usr/bin/rustfmt >> "${T}/provider-${P}"
                echo /usr/bin/cargo-fmt >> "${T}/provider-${P}"

Reply via email to