From 6d234fad42feda43bdf8697ee86b656d2c4dbe71 Mon Sep 17 00:00:00 2001 From: Georgy Yakovlev Date: Thu, 10 Nov 2022 18:27:37 -0800 Subject: [PATCH] dev-lang/rust: rust-analyzer and wasm are mutually exclusive for now Bug: https://bugs.gentoo.org/874885 Signed-off-by: Georgy Yakovlev --- 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 ade6b118fbd83..18d63adf9fd35 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 )