Skip to content

Commit

Permalink
upgpkg: cargo-msrv
Browse files Browse the repository at this point in the history
  • Loading branch information
piggynl authored and felixonmars committed Apr 2, 2022
1 parent 11cb2df commit dc0ff1d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cargo-msrv/riscv64.patch
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
diff --git PKGBUILD PKGBUILD
index 88a5cd39e..d4fd809a1 100644
--- PKGBUILD
+++ PKGBUILD
@@ -14,7 +14,7 @@ sha256sums=('97ca8350ad703df1745aa51209e9c9dfced65c00db2f8a3ef9edbbcf89dd6f80')
@@ -15,7 +15,9 @@ options=('!lto')

prepare() {
cd "$pkgname-$pkgver"
- cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
+ echo -e "\n[patch.crates-io]\nring = { git = 'https://github.com/felixonmars/ring', branch = '0.16.20' }" >> Cargo.toml
+ cargo update -p ring
+ cargo fetch --locked
}

Expand Down

0 comments on commit dc0ff1d

Please sign in to comment.