rodrimati1992 / abi_stable_crates

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

Fix `R*` lifetimes #76

Closed marioortizmanero closed 2 years ago

marioortizmanero commented 2 years ago

This closes #75. Its correctness can be proved by running the second example in there.

The only issue I had was that I'm not sure when/why use std::ptr::eq in PartialEq or similars; std doesn't do that AFAIK.

rodrimati1992 commented 2 years ago

I'll fix the ambiguity error that makes this not compile in nightly today.

marioortizmanero commented 2 years ago

Closed, will try the new approach from #75