autocxx
autocxx copied to clipboard
Tool for safe ergonomic Rust/C++ interop driven from existing C++ headers
**Describe the issue** In workflow, `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information, see: [https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/](https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/)
Adding the kindly-provided test for issue #1302.
I am trying to call c++ function which takes std::function as argument. But std::function is being interpreted as std::array Below is my code. test.h ``` #include "cxx.h" #include class A...
[These two fields](https://github.com/google/autocxx/compare/main...tychedelia:autocxx:main#diff-574a3d7b564d5a73c747beaf69a6fe7cb69a876550b341b37b45734658f4b4bfR21-R23) cause cxx to reject the bindings generated for our subclass method: ``` --- stderr Error: × cxx couldn't handle our generated bindings - could be a bug...
Hi, I'm *very* new to autocxx. Apologies if my expectations are naive. We are investigating whether it would be possible to use autocxx on an existing codebase that already uses...
Test for issue #1269.
Fixes https://github.com/google/autocxx/issues/478 This patch adds Bazel Integration. It can build: * `autocxx-*` libs/binaries - please see `BUILD` in the top directory. * `demo` - please see `demo/BUILD`. ,which follows the...
## Expected Behavior Declarations using va_list are ignored when targeting aarch64, same as on x86. ## Actual Behavior Code is generated that causes a build error. When targeting aarch64 Linux:...
With the branch in #1250, `test_take_as_pod_with_is_relocatable` fails: ``` RUST_LOG=autocxx_engine=info AUTOCXX_FORCE_WRAPPER_GENERATION=1 cargo test test_take_as_pod_with_is_relocatable -- --nocapture running: "c++" "-O1" "-ffunction-sections" "-fdata-sections" "-fPIC" "-arch" "arm64" "-I" "/var/folders/3w/3pyz6m7s1jn5dlm38v01w54h0000gp/T/.tmp3eWnBv" "-I" "/var/folders/3w/3pyz6m7s1jn5dlm38v01w54h0000gp/T/.tmp3eWnBv/target/include" "-I" "/var/folders/3w/3pyz6m7s1jn5dlm38v01w54h0000gp/T/.tmp3eWnBv" "-Wall"...
Using the branch in #1250, `test_double_underscores_ignored` fails: ``` RUST_LOG=autocxx_engine=info AUTOCXX_FORCE_WRAPPER_GENERATION=1 cargo test test_double_underscores_ignored -- --nocapture ``` ``` error[E0428]: the name `__default` is defined multiple times --> /var/folders/3w/3pyz6m7s1jn5dlm38v01w54h0000gp/T/.tmp0yAyMF/autocxx-ffi-default-gen.rs:1:2036 | 1 |...