Macro osb
Source macro_rules! osb {
($bytes:literal) => { ... };
}
Expand description
Creates an OsStr from a literal byte string (b"whatever").
This macro is unsafe because creating an OsStr from invalid UTF-8 is
Undefined Behavior on Windows (but not Unix or Linux).