]> git.lizzy.rs Git - rust.git/commitdiff
Re-enable building rust-analyzer on riscv64
authorJosh Stone <jistone@redhat.com>
Wed, 18 Jan 2023 02:15:54 +0000 (18:15 -0800)
committerJosh Stone <jistone@redhat.com>
Wed, 18 Jan 2023 02:15:54 +0000 (18:15 -0800)
It was disabled in #75103 due to an LLVM bug, but followup comments have
confirmed that it builds fine on Fedora with LLVM 15.

src/bootstrap/dist.rs

index 68215790bed177e3fdd3b4376da622b612bc689a..2e4f753965deda9938c65f8ee353fdcb9c5331c2 100644 (file)
@@ -1130,12 +1130,6 @@ fn run(self, builder: &Builder<'_>) -> Option<GeneratedTarball> {
         let compiler = self.compiler;
         let target = self.target;
 
-        if target.contains("riscv64") {
-            // riscv64 currently has an LLVM bug that makes rust-analyzer unable
-            // to build. See #74813 for details.
-            return None;
-        }
-
         let rust_analyzer = builder
             .ensure(tool::RustAnalyzer { compiler, target })
             .expect("rust-analyzer always builds");