1 रिपॉजिटरी
Generates C++ bindings from Rust declarations by running a build script that compiles the resulting C++ source.
Distinct from Binding Generators: Distinct from Binding Generators: focuses on the Cargo-specific build script integration, not general binding generation from C API metadata.
Explore 1 awesome GitHub repository matching software engineering & architecture · Cargo Build Scripts. Refine with filters or upvote what's useful.
CXX is a code generator that produces a safe, zero-overhead FFI bridge between Rust and C++. It lets functions and data types from either language be used directly in the other, with static type safety enforced at compile time and no copying, serialization, or runtime checks across the boundary. The bridge supports the full range of cross-language interactions: Rust can call C++ functions and use C++ types, and C++ can call Rust functions and use Rust types. Standard library types like strings, vectors, and smart pointers are mapped automatically between the two languages, while opaque types
Generates C++ bindings from Rust bridge declarations via a Cargo build script.