diff --git a/enable-ra-for-riscv.patch b/enable-ra-for-riscv.patch index 7d768b5..40a1525 100644 --- a/enable-ra-for-riscv.patch +++ b/enable-ra-for-riscv.patch @@ -1,16 +1,17 @@ diff --git a/src/bootstrap/dist.rs b/src/bootstrap/dist.rs -index 12585e80e..f7b882880 100644 +index 12585e80e..360b7b6c7 100644 --- a/src/bootstrap/dist.rs +++ b/src/bootstrap/dist.rs -@@ -1085,11 +1085,6 @@ impl Step for RustAnalyzer { - fn run(self, builder: &Builder<'_>) -> Option { +@@ -1086,12 +1086,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");