[arch-commits] Commit in cbindgen/trunk (PKGBUILD)

Jan Steffens heftig at gemini.archlinux.org
Tue Apr 19 13:51:28 UTC 2022


    Date: Tuesday, April 19, 2022 @ 13:51:27
  Author: heftig
Revision: 442920

0.22.0-1

Modified:
  cbindgen/trunk/PKGBUILD

----------+
 PKGBUILD |   12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-04-19 09:59:33 UTC (rev 442919)
+++ PKGBUILD	2022-04-19 13:51:27 UTC (rev 442920)
@@ -1,7 +1,7 @@
 # Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
 
 pkgname=cbindgen
-pkgver=0.21.0
+pkgver=0.22.0
 pkgrel=1
 pkgdesc="A tool for generating C bindings to Rust code"
 url="https://github.com/eqrion/cbindgen"
@@ -10,13 +10,17 @@
 depends=(gcc-libs)
 makedepends=(cargo git)
 checkdepends=(cython)
-_commit=b3de1dc4b438222ee8000afeeafdbe209adf337e  # tags/v0.21.0^0
+options=(debug)
+_commit=8604b2c0b720aab2582e169af4b0005d5d927770  # tags/v0.22.0^0
 source=("git+https://github.com/eqrion/cbindgen#commit=$_commit")
 sha512sums=('SKIP')
 
-export CARGO_PROFILE_RELEASE_LTO=fat
-export CARGO_PROFILE_RELEASE_CODEGEN_UNITS=1
+# Use LTO
+export CARGO_PROFILE_RELEASE_LTO=true CARGO_PROFILE_RELEASE_CODEGEN_UNITS=1
 
+# Use debug
+export CARGO_PROFILE_RELEASE_DEBUG=2
+
 pkgver() {
   cd cbindgen
   git describe --tags | sed 's/^v//;s/[^-]*-g/r&/;s/-/+/g'



More information about the arch-commits mailing list