Commit Graph

6 Commits

Author SHA1 Message Date
Khem Raj
f3cc7f1d7f
cbindgen: Fix getrandom build with musl/riscv32
New upgrade to 0.29.2 broke it.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-11-13 23:02:37 -08:00
Gyorgy Sarvari
c103e53f0d
cbindgen: upgrade 0.28.0 -> 0.29.2
Drop patch that is incorporated in this release.

Changelog:

0.29.2
 * Request serde's std feature to avoid issues with newer toml versions.

0.29.1
 * enum: Track dependencies properly in enumerations.
 * constant: Handle cfg in associated constants.
 * Remove "display" feature from the toml crate
 * Fix incorrect detection of duplicated constants
 * docs: Correct after_include type in example config (fix)
 * cargo update
 * Update toml to 0.9

0.29.0
 * Support no-export annotation for statics and functions.
 * Fixed conditional fields of constexpr literal structs
 * Add rename rule for generated associated constant
 * Upgrade heck to 0.5
 * Add support for an optional nullable attribute
 * docs.md: Fix deprecated_with_note and deprecated_variant_with_note being spelled as 'notes'
 * Fix generic with "void" default
 * Fixed error generation of structures using the keyword as inside arrays
 * Added test for unsafe(no_mangle) attribute
 * Fixed handling of trait methods containing the unsafe attribute
 * Rename -Zparse-only

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-11-08 23:04:38 -08:00
Alexander Kanavin
fc78d37ff0
meta-openembedded/all: adapt to UNPACKDIR changes
Please see
https://git.yoctoproject.org/poky/commit/?id=4dd321f8b83afecd962393101b2a6861275b5265
for what changes are needed, and sed commands that can be used to make them en masse.

I've verified that bitbake -c patch world works with these, but did not run a world
build; the majority of recipes shouldn't need further fixups, but if there are
some that still fall out, they can be fixed in followups.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-06-25 06:44:52 -07:00
Khem Raj
8bca12516c
cbindgen: Fix build on riscv32
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-06 10:57:39 -07:00
Wang Mingyu
5f192055e9
cbindgen: update 0.27.0 -> 0.28.0
Changelog:
==========
* Parse unsafe attributes
* Fix local override of enum prefix-with-name
* Add rename-all=prefix
* ir: add support for UnsafeCell and SyncUnsafeCell
* Implement mangling for arrays
* Fix: Ignore 'CARGO_BUILD_TARGET' in tests
* Newline for each field for constexpr field constants
* Fix clippy warnings
* Add aarch64/arm64 to CI
* Add `unstable_ir` feature flag that makes the ir pub
* Support generated a symbols file

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-24 18:20:04 -08:00
Markus Volk
8eefff9de6
cbindgen: add recipe
cbindgen creates C/C++11 headers for Rust libraries which expose a public C API

It is a required dependency for the current mozjs esr release

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-12-16 08:42:01 -08:00