> -----Original Message-----
> From: [email protected] 
> <[email protected]> On Behalf Of Ankur Tyagi via 
> lists.openembedded.org
> Sent: den 10 mars 2026 20:18
> To: [email protected]
> Cc: [email protected]; 
> [email protected]
> Subject: Re: [oe] [meta-oe][PATCH] cxx: Add cxx recipe
> 
> On Wed, Mar 11, 2026 at 6:19 AM Gyorgy Sarvari via lists.openembedded.org 
> <[email protected]> wrote:
> >
> > On 3/10/26 14:48, Varatharajan, Deepesh via lists.openembedded.org wrote:
> > > From: Deepesh Varatharajan <[email protected]>
> > >
> > > Add a recipe for the cxx crate, which provides a safe and efficient
> > > bridge for interoperability between Rust and C++ code. It allows
> > > defining the FFI boundary in a shared Rust module and generates
> > > compatible bindings for both languages during the build process.
> > >
> > > The crate is implemented in Rust and supports zero-overhead FFI with
> > > common Rust and C++ standard library types.
> > >
> > > More information: https://crates.io/crates/cxx
> > >
> > > Signed-off-by: Deepesh Varatharajan <[email protected]>
> > > ---
> > >  meta-oe/recipes-devtools/cxx/cxx-crates.inc | 130 ++++++++++++++++++++
> > >  meta-oe/recipes-devtools/cxx/cxx_1.0.194.bb |  34 +++++
> > >  2 files changed, 164 insertions(+)
> > >  create mode 100644 meta-oe/recipes-devtools/cxx/cxx-crates.inc
> > >  create mode 100644 meta-oe/recipes-devtools/cxx/cxx_1.0.194.bb
> > >
> >
> > This is mostly just a thought, I don't intend this as a blocker of this
> > patch. Maybe a loud thought, or a quick-discussion starter?
> >
> > cxx is pretty generic name, I find it hard to guess that it's a Rust
> > library for FFI.
> >
> > Debian prefixes this (and similar packages) with librust - this one is
> > called librust-cxx. Fedora calls it rust-cxx. (Though OpenSuse just
> > calls it cxx - I guess there is accepted no standard)
> > What if we would follow Debian or Fedora naming with such Rust
> > libraries, similar to what is done with many Python and Perl recipes? I
> > imagine that over time there will be more similar recipes.
> >
> 
> Had similar thoughts when I read the recipe name.
> Another idea is to use "cxx-crates" name for both, inc and bb files.

No, that is a bad idea. The -crates.inc files tie into the similar 
files for Go, i.e., -go-mods.inc and -licenses.inc. And I expect that 
in the future there will also be -licenses.inc files for the Rust 
recipes.

//Peter

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#125192): 
https://lists.openembedded.org/g/openembedded-devel/message/125192
Mute This Topic: https://lists.openembedded.org/mt/118240942/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to