]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
rust: add cargo-c native recipe
authorFrederic Martinsons <frederic.martinsons@gmail.com>
Thu, 17 Aug 2023 05:04:13 +0000 (07:04 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 21 Aug 2023 15:14:27 +0000 (16:14 +0100)
commitdfce5f9ffb5240aadae311c2a2e912a315afc703
tree2b327986012e27f3ffa3b7344b32112ddb2b1e06
parent5fa07f6e882c35df4bb0d0f13804510ed2bea6f8
rust: add cargo-c native recipe

This package make it easier to generate C/C++ ABI compatible
header, library and also generate package config file.

It is built around cbindgen (https://github.com/mozilla/cbindgen)
for the header generation, it compiles the library (static or dynamic)
through cargo and finally handle the generation of a custom
package config file.

Signed-off-by: Frederic Martinsons <frederic.martinsons@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/conf/distro/include/maintainers.inc
meta/recipes-devtools/rust/cargo-c-crates.inc [new file with mode: 0644]
meta/recipes-devtools/rust/cargo-c-native_0.9.18.bb [new file with mode: 0644]
meta/recipes-devtools/rust/cargo-c/0001-Add-Cargo.lock-file.patch [new file with mode: 0644]