Skip to content

Commit

Permalink
Rollup merge of #107015 - cuviper:ra-riscv64, r=Mark-Simulacrum
Browse files Browse the repository at this point in the history
Re-enable building rust-analyzer on riscv64

It was disabled in #75103 due to an LLVM bug, but followup comments have
confirmed that it builds fine on Fedora with LLVM 15.

r? ``@Mark-Simulacrum``
cc ``@matklad`` ``@davidlt``
  • Loading branch information
compiler-errors authored Jan 22, 2023
2 parents cfc1738 + f6d8abf commit 65e946b
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/bootstrap/dist.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1130,12 +1130,6 @@ impl Step for RustAnalyzer {
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");
Expand Down

0 comments on commit 65e946b

Please sign in to comment.