Adrian Taylor

Results 120 issues of Adrian Taylor

Some Rust keywords are valid identifiers in C++. Yet this fails: `demo/include/blobstore.h`: add ```cpp inline void move(uint32_t a) {} ``` `demo/src/main.rs`: add (in `extern C++` section): ```rust #[cxx_name = "move"]...

In some non-Cargo build configurations, the Rust and C++ side of cxx bindings may end up in different binaries. In some environments, this requires symbols to be explicitly exported using...

cxx accepts functions that take *mut T as an argument. Such functions are of course used under odd niche circumstances; it would be safer and better to take a &mut...

This adds direct support for the C integer and float types defined in `std::os::raw`. Unlike existing cxx-supported integers, these may not be a consistent length on all platforms - but...

`cxx` has a behavior quirk I wasn't aware of. I _think_ it's unintentional, hence reporting as a bug, but if this is intended behavior that's fine. This code: ```rust unsafe...

This adds a fuzzer which should work with `cargo install cargo-fuzz; cargo fuzz run fuzz_find`. No bugs found yet!

I'm told that some tools carefully optimize PNG data (`optipng`, `advpng`). At the moment, this library always decodes and re-encodes PNGs before inserting the data into the icns file, which...

### Input C/C++ Header ```C++ namespace { namespace { template union a { a b; }; } // namespace } // namespace ``` This is nonsensical but results from reduction...

bug
A-templates
A-C++

This test case results in ``Error(Custom("missing field `$value`")``: ```rust #[derive(Debug, Deserialize, PartialEq)] struct BC { b: String, c: String, } #[derive(Debug, Deserialize, PartialEq)] struct D { d: String, } #[derive(Debug,...

WIP PR to simplify `TypeConversionPolicy`.