rodrimati1992 / abi_stable_crates

Rust-to-Rust ffi,ffi-safe equivalents of std types,and creating libraries loaded at startup.
Apache License 2.0
536 stars 30 forks source link

Fix R* lifetimes via `RCow` redesign #80

Closed marioortizmanero closed 2 years ago

marioortizmanero commented 2 years ago

Closes #75

TODO:

marioortizmanero commented 2 years ago

Note that this PR also includes changes from #76 in order to also fix lifetimes for RVec and RHashMap. It also adds new ones, such as using NonNull in RVec; *mut T is invariant over T, but NonNull<T> is covariant over T.

marioortizmanero commented 2 years ago

I take it this can be closed as well?