Skip to content

Commit

Permalink
Rollup merge of rust-lang#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 rust-lang#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
matthiaskrgr authored Jan 21, 2023
2 parents 0facfcb + f6d8abf commit cb2f0fb
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 cb2f0fb

Please sign in to comment.