autocxx
autocxx copied to clipboard
Tool for safe ergonomic Rust/C++ interop driven from existing C++ headers
This might be good: https://github.com/actions/dependency-review-action
In the demo, we see `&ffi::Goat` as input to this conversion. We've been assuming all is pointers up to this point. This may cause difficulties, need to investigate/
The naming convention that just used the C++ function name directly doesn't work with multiple include_cpps in the same binary. The test case has them in the same rust file,...
## Expected Behavior Correct number of type parameters supplied to templated class implementations ## Actual Behavior error: wrong number of template arguments (n-x, should be n) where n is the...
Using a struct with overrides seems to fail the build, i'm trying to use libtorrent but it throws a few hundred `candidate expects x arguments, x provided` errors and fails...
```cpp namespace rust { inline namespace a { class Str { public: ~Str(); }; } // namespace a } // namespace rust ```
From minimizing a stress test problem. ```cpp namespace { typedef int a; } namespace b { template struct c; template using f = __make_integer_seq; template using g = f; }...
A small ergonomics improvement could be to use `#[must_use = "Add .within_unique_ptr()"]` to each case where we return an `impl New` ([link](https://doc.rust-lang.org/reference/attributes/diagnostics.html#the-must_use-attribute)).
I am using this as a collection of challenges that I run into, when building bindings for https://github.com/facebook/rocksdb/. The work is based on https://github.com/rust-rocksdb/rust-rocksdb/ but switching to `cxx` + `autocxx`...