diff mbox series

[meta-oe,18/55] cbindgen: upgrade 0.29.2 -> 0.29.4

Message ID 20261125080732.2419614-24-khem.raj@oss.qualcomm.com
State New
Headers show
Series [meta-multimedia] clightd: Port ALS sensor to libiio 1.0 | expand

Commit Message

Khem Raj Nov. 25, 2026, 8:06 a.m. UTC
- Support constant enums and arrays
- In C23 mode, define sized enums as enums instead of typedefs
- Expose the line_endings option to the builder and allow pub access to
  ReprType fields
- Fix doc attribute parsing with block comments and also check CMSE ABIs

Inherit cargo-update-recipe-crates so the crate list can be regenerated
(unchanged for this release), and list the git source first so the
upstream check reads cbindgen tags instead of the first crate. Add the
upstream check.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
---
 .../cbindgen/{cbindgen_0.29.2.bb => cbindgen_0.29.4.bb}  | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)
 rename meta-oe/recipes-devtools/cbindgen/{cbindgen_0.29.2.bb => cbindgen_0.29.4.bb} (76%)
diff mbox series

Patch

diff --git a/meta-oe/recipes-devtools/cbindgen/cbindgen_0.29.2.bb b/meta-oe/recipes-devtools/cbindgen/cbindgen_0.29.4.bb
similarity index 76%
rename from meta-oe/recipes-devtools/cbindgen/cbindgen_0.29.2.bb
rename to meta-oe/recipes-devtools/cbindgen/cbindgen_0.29.4.bb
index 6b5fac9d47..b5a9df4a82 100644
--- a/meta-oe/recipes-devtools/cbindgen/cbindgen_0.29.2.bb
+++ b/meta-oe/recipes-devtools/cbindgen/cbindgen_0.29.4.bb
@@ -3,12 +3,15 @@  HOMEPAGE = "https://github.com/mozilla/cbindgen"
 LICENSE = "MPL-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=9741c346eef56131163e13b9db1241b3"
 
-require cbindgen-crates.inc
 SRC_URI += "git://github.com/mozilla/cbindgen.git;protocol=https;branch=main;tag=v${PV}"
 SRC_URI += "file://0001-Use-libc-SYS_futex_time64-on-riscv32.patch;patchdir=${UNPACKDIR}/cargo_home/bitbake/getrandom-0.3.3/"
 
-SRCREV = "76f41c090c0587d940a0ef81a41c8b995f074926"
+SRCREV = "b826cb8911488fe8a209d2b693492c0c673e8cca"
+
+UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)"
+
+require cbindgen-crates.inc
 
-inherit cargo pkgconfig
+inherit cargo cargo-update-recipe-crates pkgconfig
 
 BBCLASSEXTEND += "native"