Skip to main content

Module stable_os_string

Module stable_os_string 

Source
Expand description

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.

Structsยง

StableOsString
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)].