Remove obsolete patch
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
parent
67c20fe38e
commit
0b94a0cb6c
|
@ -1,17 +0,0 @@
|
||||||
diff --git a/src/bootstrap/dist.rs b/src/bootstrap/dist.rs
|
|
||||||
index 3cb0eccd3..933cf84fc 100644
|
|
||||||
--- a/src/bootstrap/dist.rs
|
|
||||||
+++ b/src/bootstrap/dist.rs
|
|
||||||
@@ -1129,12 +1129,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");
|
|
|
@ -126,9 +126,6 @@ Patch101: rustc-1.68.0-disable-http2.patch
|
||||||
# (affects RHEL6 kernels when building for RHEL7)
|
# (affects RHEL6 kernels when building for RHEL7)
|
||||||
Patch102: rustc-1.65.0-no-default-pie.patch
|
Patch102: rustc-1.65.0-no-default-pie.patch
|
||||||
|
|
||||||
# Enable rust-analyzer on riscv64
|
|
||||||
Patch103: rust-enable-ra-for-riscv64.patch
|
|
||||||
|
|
||||||
# Get the Rust triple for any arch.
|
# Get the Rust triple for any arch.
|
||||||
%{lua: function rust_triple(arch)
|
%{lua: function rust_triple(arch)
|
||||||
local abi = "gnu"
|
local abi = "gnu"
|
||||||
|
@ -602,8 +599,6 @@ rm -rf vendor/libnghttp2-sys/
|
||||||
%patch102 -p1
|
%patch102 -p1
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%patch103 -p1
|
|
||||||
|
|
||||||
# Use our explicit python3 first
|
# Use our explicit python3 first
|
||||||
sed -i.try-python -e '/^try python3 /i try "%{__python3}" "$@"' ./configure
|
sed -i.try-python -e '/^try python3 /i try "%{__python3}" "$@"' ./configure
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue