commit:     6d234fad42feda43bdf8697ee86b656d2c4dbe71
Author:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 11 02:27:37 2022 +0000
Commit:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Fri Nov 11 02:32:56 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d234fad

dev-lang/rust: rust-analyzer and wasm are mutually exclusive for now

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

 dev-lang/rust/rust-1.65.0.ebuild | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/dev-lang/rust/rust-1.65.0.ebuild b/dev-lang/rust/rust-1.65.0.ebuild
index ade6b118fbd8..18d63adf9fd3 100644
--- a/dev-lang/rust/rust-1.65.0.ebuild
+++ b/dev-lang/rust/rust-1.65.0.ebuild
@@ -121,10 +121,13 @@ RDEPEND="${DEPEND}
        sys-apps/lsb-release
 "
 
+# FIXME: https://bugs.gentoo.org/874885
+# rust-analyzer should work with wasm, but currently does not
 REQUIRED_USE="|| ( ${ALL_LLVM_TARGETS[*]} )
        miri? ( nightly )
        parallel-compiler? ( nightly )
        rls? ( rust-src )
+       rust-analyzer? ( !wasm )
        test? ( ${ALL_LLVM_TARGETS[*]} )
        wasm? ( llvm_targets_WebAssembly )
        x86? ( cpu_flags_x86_sse2 )

Reply via email to