Adrian Taylor
                                            Adrian Taylor
                                        
                                    After #470, this also started to run into #494, which I'm now working on.
Thanks for the report. I'm currently on vacation, so I'm unlikely to have a chance to reproduce this myself within the next few weeks. If you're feeling generous, please could...
Thanks for the test case, that helps a lot. A bit of investigation. Here's a pure-bindgen test case, which does the right thing. ```toml [package] name = "test-proj" version =...
`bindgen` has an option `--use-distinct-char16-type` which we should try, in case it also benefits char32.
> `bindgen` has an option `--use-distinct-char16-type` which we should try, in case it also benefits char32. Oh, we were already doing that.
Here's the plan here. * `autocxx_engine` depends on `cxx` in its dependencies not just dev-dependencies. It has a `pub use cxx`. * `src/lib.rs` in the root (containing the macro) moves...
I think I have concluded this is (nearly) impossible. The code generated by the `#[cxx::bridge]` macro is full of references to types qualified as `::cxx::...`, for instance `::cxx::UniquePtr`. As far...
Abandoned work: https://github.com/google/autocxx/compare/re-export-cxx
https://github.com/dtolnay/cxx/issues/697 is a good step forward here.
Even with the above change, we're not particularly close to solving this. The expanded `cxx::bridge` mod still contains references to `::cxx::UniquePtr` and `::cxx::private::Opaque`, etc.