Skip to content

Commit

Permalink
addpatch: rio
Browse files Browse the repository at this point in the history
- Fix broken rust target.
- Workaround rustc bug: rust-lang/rust#110224
  • Loading branch information
kxxt authored and felixonmars committed Sep 10, 2023
1 parent 7435a08 commit 4be28bf
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions rio/riscv64.patch
Original file line number Diff line number Diff line change
@@ -0,0 1,12 @@
--- PKGBUILD
PKGBUILD
@@ -25,7 25,8 @@ sha512sums=('3b3fd074d8f5fb90dc9f8c6922431facf873181bdc030f696bd6f6018bf0439f8d3

prepare() {
cd "${pkgbase}-${pkgver}"
- cargo fetch --locked --target "${CARCH}-unknown-linux-gnu"
sed -i '/^split-debuginfo\s*=\s*"unpacked"/d' Cargo.toml
cargo fetch --locked
}

build() {

0 comments on commit 4be28bf

Please sign in to comment.