Commit e020f2db authored by Chaoting Liu's avatar Chaoting Liu Committed by Chaoting Liu

cbindgen: update to 0.14.3

parent 68bb63d0
Pipeline #6846 passed with stages
in 6 minutes and 10 seconds
# Contributions from Arch:
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
# Contribution from Arch:
# Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
pkgname=cbindgen
pkgver=0.13.1
pkgver=0.14.3
pkgrel=1
pkgdesc="A tool for generating C bindings to Rust code"
url="https://github.com/eqrion/cbindgen"
......@@ -10,7 +10,7 @@ arch=(x86_64)
license=(MPL2)
depends=(gcc-libs)
makedepends=(rust git)
_commit=3b97f4ff6b0558cab300c010222caee84245dd5d # tags/v0.13.1^0
_commit=cc2876f709808a52d132a5f84e53ca1964eb92db # tags/v0.14.3^0
source=("git+https://github.com/eqrion/cbindgen#commit=$_commit")
sha512sums=('SKIP')
......@@ -21,17 +21,18 @@ pkgver() {
prepare() {
cd $pkgname
cargo fetch --locked
cargo fetch --locked --target x86_64-unknown-linux-gnu
}
build() {
cd $pkgname
cargo build --release --frozen
cargo build --release --frozen --all-targets
}
check() {
cd $pkgname
cargo test --release --frozen || :
# test_expand* fails; needs nightly rust
cargo test --release --frozen || :
}
package() {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment