autocxx
autocxx copied to clipboard
Tool for safe ergonomic Rust/C++ interop driven from existing C++ headers
This might be an edge case but when a function returnr a reference to an innner templated member of an outer class or struct like this: ```C++ template class B{...
**Describe the bug** When a `typedef` to `char` is used, `autocxx` fails with an unsupported type error. **To Reproduce** `minimal.h` ```c++ typedef char Standard_Character; typedef Standard_Character * Standard_CString; Standard_CString foo();...
**Describe the bug** error[E0599]: no function or associated item named `new` found for struct `root::A` in the current scope **To Reproduce** ``` typedef struct A { char * b; }A;...
**Describe the bug** I'm really looking for some suggestion in how to debug `autocxx` `Builder` errors. When I generate Rust bindings on a very large C++ codebase as follows: ```...
**Describe the bug** When attempting to generate bindings to `webrtc::PeerConnectionFactory` in libwebrtc, on macOS, the build script segfaults. The stacktrace is more than 14k frames long, so it might be...
**Describe the bug** When both `clang-14` and `libclang1-16` are installed, `#include ` fails because autocxx(-bindgen?) runs Clang 14 but also loads `libclang-16.so.1*`: **To Reproduce** 1. Add `#include ` to `examples/pod/src/cpp.h`...
**Describe the bug** `cargo::rustc-check-cfg=cfg(nightly)` uses a double colon, however the double colon is not supported on versions below 1.77.0. ``` error: unsupported output in build script of `autocxx v0.27.0 (/tmp/autocxx)`:...
**Describe the bug** To avoid a single bridge file grow too big, I want to create more bridge files separately, each generates some rust bindings with provided c++ header files....
**Describe the bug** Subclassing does not compile, with the following error: ``` error[E0277]: the trait bound `Concrete: CppPeerConstructor` is not satisfied --> src/main.rs:12:12 | 12 | pub struct Concrete {}...
**Describe the bug**. I'm trying to link to an existing c++ library but If typedef is used on overloaded function arguments. it makes the system not be able to compile...