3 ms·
OsString [1] in Rust provides native string that can be directly passed to OS-specific API. It is UTF-16 on Windows. [1] - https://doc.rust-lang.org/std/ffi/st
by fpoling 11y ago
OsString [1] in Rust provides native string that can be directly passed to OS-specific API. It is UTF-16 on Windows.
[1] - https://doc.rust-lang.org/std/ffi/struct.OsString.html https://doc.rust-lang.org/std/ffi/struct.OsString.html