libffi-rs
libffi-rs copied to clipboard
Make additional types Send + Sync
Make some types Send + Sync:
- middle::Cif
- middle::Type
- high::Type<T>
I believe this is safe because none of these types provides any kind of interior mutability. The wrappers ensure that these types behave like ordinary, owned Rust objects.