Skip to content

Commit

Permalink
dev-lang/rust-bin: drop USE=profiler in 1.81.0
Browse files Browse the repository at this point in the history
This was dropped in upstream commit fd4fe7d129cac2b7a0668847117775ee23031771.

See rust-lang/rust#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@gentoo.org>
  • Loading branch information
thesamesam committed Sep 18, 2024
1 parent 221d162 commit cecf474
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions dev-lang/rust-bin/rust-bin-1.81.0.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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 )

Expand Down Expand Up @@ -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}"
Expand Down

0 comments on commit cecf474

Please sign in to comment.