Commit Graph

3 Commits

Author SHA1 Message Date
Deepesh Varatharajan cac9189f1d librust-cxx: upgrade 1.0.194 -> 1.0.197
Update cxx crate from 1.0.194 to 1.0.197.

Changes in this update:

v1.0.195:
- Fix use of uninitialized value in let_cxx_string! on panic
  inside initialization expression

v1.0.196:
- Migrate to Rust 2024 edition

v1.0.197:
- Restore RefUnwindSafe for let_cxx_string in async contexts
- Use link_deps in Cargo bazel metadata

Assisted-by: Kiro CLI 2.12.0 (AI assistant)
Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-07-14 10:25:16 -07:00
Deepesh Varatharajan d0f83b6df2 librust-cxx: Fix update_crates command in crates.inc
Update comment to use correct recipe name
(librust-cxx instead of cxx).

Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-03-25 23:29:30 -07:00
Deepesh Varatharajan 2c74fbff25 librust-cxx: Add librust-cxx recipe
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 <Deepesh.Varatharajan@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2026-03-18 14:33:26 -07:00