bendk
bendk
Updated this code to not depend on the handles work, because I didn't want that to block this. This means the foreign handle-map code is a bit of a mess,...
With the approach above, you still need to flag types used across crates in the UDL file with `[External]`, but that's usually much fewer types.
Rebased this one now that the vtable code has been merged. It's looking pretty good now so I removed the `do-not-merge` tag.
Removed this one from the list of PRs for `0.27` since it seems too early to tell how we should handle it. See #2040 for a discussion.
Maybe we could add support for `ByRef` args in callback interfaces: - Primitive types can be copied - Types that are serialized to `RustBuffer`, probably don't need any special treatment....
Maybe we could add an attribute that makes a trait interface Rust-only? It's hard to anticipate, but if we created more differences between object interfaces and callback interfaces, allowing consumers...
When Mark and I discussed this, we thought there should be 3 options for your exporting traits: 1. Only support Rust implementations (trait interfaces in `0.25.x`) 2. Only support foreign...
#1978 is my attempt at increasing the field sizes to `u64`
> > without the potential of shrink_to performing an extra copy. > > I don't understand the extra copy shrink_to implies, and why it doesn't work here - isn't the...
> So yeah, I agree your other patches makes the most sense if this is true - I do wish it was spelled out a little better though. Me too....