Skip to content

Commit 4be28bf

Browse files
kxxtfelixonmars
authored andcommitted
addpatch: rio
- Fix broken rust target. - Workaround rustc bug: rust-lang/rust#110224
1 parent 7435a08 commit 4be28bf

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

rio/riscv64.patch

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
--- PKGBUILD
2+
+++ PKGBUILD
3+
@@ -25,7 +25,8 @@ sha512sums=('3b3fd074d8f5fb90dc9f8c6922431facf873181bdc030f696bd6f6018bf0439f8d3
4+
5+
prepare() {
6+
cd "${pkgbase}-${pkgver}"
7+
- cargo fetch --locked --target "${CARCH}-unknown-linux-gnu"
8+
+ sed -i '/^split-debuginfo\s*=\s*"unpacked"/d' Cargo.toml
9+
+ cargo fetch --locked
10+
}
11+
12+
build() {

0 commit comments

Comments
 (0)