Mark Hammond
Mark Hammond
#1792 is for making it available to UDL, so I guess I'll close this one (but feel free to reopen if that's not appropriate!)
Fair enough - I got confused about who the OP was!
Custom types are intended to introduce a new type for use by the foreign bindings. In `uniffi::custom_type!(Box, String);` that type is `Box`, which doesn't make sense as a type in...
Also related to #2262. IMO those guidelines are odd, subjective and depend so much on context - you mention `ID` but I doubt it would be difficult to find people...
If `time cargo -q uniffi-bindgen generate...` takes 4m, it might somehow be the symbol extraction from the library path you are passing, done by [goblin](https://crates.io/crates/goblin)?
We don't have any profiling but we've also never seen this take more than a trivial amount of time. You probably need to use a local build with manually added...
Thanks for that info - printing the time makes sense. > I don't think that having klint run by default is a good thing. That's probably true, but I guess...
> I don't understand how this would be used - cloning of the `Arc` Edit: oops, I do see, the point is the new rust object.
I'm mildly surprised we don't support this, but it looks like we do not! A very quick look implies this seems sane for Swift as it's what we did for...
> My suspicion from debugging the expanded udl file is that it's missing a `ffi_converter_forward` for `GuidError` Yeah - I suspect you need `::uniffi::ffi_converter_forward!(GuidError, ext_types_custom::UniFfiTag, crate::UniFfiTag);` where it's imported. >...