libffi-rs icon indicating copy to clipboard operation
libffi-rs copied to clipboard

Make additional types Send + Sync

Open tov opened this issue 4 years ago • 0 comments

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.

tov avatar Dec 20 '21 19:12 tov