You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed that the wrapped C types autocxx exposes do not implement Copy - only Clone, despite most of them having Copy implemented on the underlying type - is this intentional?
Thanks for the report. These autocxx::c_* types were intended to be a stop-gap measure until dtolnay/cxx#874 lands, which in turn is blocked on dtolnay/cxx#682. There's progress there in dtolnay/cxx#908 thanks to @CAD97 so hopefully these nasty wrappers can go away soon.
However! Meanwhile yes they should probably implement Copy. I'll make that change.
Hi,
I noticed that the wrapped C types autocxx exposes do not implement
Copy
- onlyClone
, despite most of them havingCopy
implemented on the underlying type - is this intentional?autocxx/src/lib.rs
Lines 620 to 633 in 4e96dfd
Cheers
The text was updated successfully, but these errors were encountered: