When trying to use char as an FFI type, the error below is thrown. According to the documentation, a char is always four bytes in size, so this should not be hard to support.
the trait bound `char: abi_stable::StableAbi` is not satisfied
the following other types implement trait `abi_stable::StableAbi`:
&'a T
&'a mut T
()
*const T
*mut T
[T; N]
abi_stable::DynTrait<'borr, P, I, EV>
abi_stable::RMut<'a, T>
and 315 others
required for `[char; 2]` to implement `abi_stable::StableAbi`
2 redundant requirements hidden
required for `abi_stable::std_types::ROption<abi_stable::std_types::RVec<[char; 2]>>` to implement `abi_stable::StableAbi`
When trying to use
charas an FFI type, the error below is thrown. According to the documentation, acharis always four bytes in size, so this should not be hard to support.