commit:     0b2edc9b4f22eff3d683fe4af9feea2bb74d9834
Author:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Wed Jun  7 21:59:34 2023 +0000
Commit:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Wed Jun  7 22:02:36 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b2edc9b

dev-lang/rust: require src component for rust-analyzer

Closes: https://bugs.gentoo.org/907961
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>

 dev-lang/rust/rust-1.65.0.ebuild    | 2 +-
 dev-lang/rust/rust-1.66.1.ebuild    | 1 +
 dev-lang/rust/rust-1.67.1.ebuild    | 1 +
 dev-lang/rust/rust-1.68.2.ebuild    | 1 +
 dev-lang/rust/rust-1.69.0-r1.ebuild | 1 +
 5 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/dev-lang/rust/rust-1.65.0.ebuild b/dev-lang/rust/rust-1.65.0.ebuild
index bb793aa16865..d46314607071 100644
--- a/dev-lang/rust/rust-1.65.0.ebuild
+++ b/dev-lang/rust/rust-1.65.0.ebuild
@@ -126,7 +126,7 @@ RDEPEND="${DEPEND}
 REQUIRED_USE="|| ( ${ALL_LLVM_TARGETS[*]} )
        miri? ( nightly )
        parallel-compiler? ( nightly )
-       rust-analyzer? ( !wasm )
+       rust-analyzer? ( !wasm rust-src )
        test? ( ${ALL_LLVM_TARGETS[*]} )
        wasm? ( llvm_targets_WebAssembly )
        x86? ( cpu_flags_x86_sse2 )

diff --git a/dev-lang/rust/rust-1.66.1.ebuild b/dev-lang/rust/rust-1.66.1.ebuild
index 85a895e94dc2..5d39816f9cb7 100644
--- a/dev-lang/rust/rust-1.66.1.ebuild
+++ b/dev-lang/rust/rust-1.66.1.ebuild
@@ -124,6 +124,7 @@ RDEPEND="${DEPEND}
 REQUIRED_USE="|| ( ${ALL_LLVM_TARGETS[*]} )
        miri? ( nightly )
        parallel-compiler? ( nightly )
+       rust-analyzer? ( rust-src )
        test? ( ${ALL_LLVM_TARGETS[*]} )
        wasm? ( llvm_targets_WebAssembly )
        x86? ( cpu_flags_x86_sse2 )

diff --git a/dev-lang/rust/rust-1.67.1.ebuild b/dev-lang/rust/rust-1.67.1.ebuild
index 5c51929f95da..4c66b8e3b4c4 100644
--- a/dev-lang/rust/rust-1.67.1.ebuild
+++ b/dev-lang/rust/rust-1.67.1.ebuild
@@ -124,6 +124,7 @@ RDEPEND="${DEPEND}
 REQUIRED_USE="|| ( ${ALL_LLVM_TARGETS[*]} )
        miri? ( nightly )
        parallel-compiler? ( nightly )
+       rust-analyzer? ( rust-src )
        test? ( ${ALL_LLVM_TARGETS[*]} )
        wasm? ( llvm_targets_WebAssembly )
        x86? ( cpu_flags_x86_sse2 )

diff --git a/dev-lang/rust/rust-1.68.2.ebuild b/dev-lang/rust/rust-1.68.2.ebuild
index 4f904c718106..4bf6fa92b305 100644
--- a/dev-lang/rust/rust-1.68.2.ebuild
+++ b/dev-lang/rust/rust-1.68.2.ebuild
@@ -124,6 +124,7 @@ RDEPEND="${DEPEND}
 REQUIRED_USE="|| ( ${ALL_LLVM_TARGETS[*]} )
        miri? ( nightly )
        parallel-compiler? ( nightly )
+       rust-analyzer? ( rust-src )
        test? ( ${ALL_LLVM_TARGETS[*]} )
        wasm? ( llvm_targets_WebAssembly )
        x86? ( cpu_flags_x86_sse2 )

diff --git a/dev-lang/rust/rust-1.69.0-r1.ebuild 
b/dev-lang/rust/rust-1.69.0-r1.ebuild
index 366e5890c90f..a61a6fce2139 100644
--- a/dev-lang/rust/rust-1.69.0-r1.ebuild
+++ b/dev-lang/rust/rust-1.69.0-r1.ebuild
@@ -124,6 +124,7 @@ RDEPEND="${DEPEND}
 REQUIRED_USE="|| ( ${ALL_LLVM_TARGETS[*]} )
        miri? ( nightly )
        parallel-compiler? ( nightly )
+       rust-analyzer? ( rust-src )
        test? ( ${ALL_LLVM_TARGETS[*]} )
        wasm? ( llvm_targets_WebAssembly )
        x86? ( cpu_flags_x86_sse2 )

Reply via email to