A safe way to send an OsString (or something similar) across an abi/ffi boundary. Unlike OsString and OsStr, this is guaranteed to have an encoding that will not change based on the compiler version.
A safe way to send an OsString (or PathBuf) across an abi/ffi boundary. Unlike OsString and OsStr, it has an encoding that will not change based on the compiler version, and it uses #[repr(C)].