Rust Internals
OsStr, WTF8, as_bytes, and to_string_unchecked
libs
kornel
July 10, 2020, 10:48am
10
Yes,
rustc
for example fails to pass exact bytes to LLVM on Unix:
PathBuf to CString
1 Like
show post in topic
Related Topics
Topic
Replies
Views
Activity
Make std::os::unix::ffi::OsStrExt cross-platform
language design
12
1489
March 25, 2019
Get filename from DirEntry without allocating
8
1156
March 25, 2019
Should `OpenOptionsExt::custom_flags` be unsafe?
libs
6
786
September 15, 2022
Allow std::fs::DirEntry to vend borrows of its filename
libs
5
686
June 22, 2021
Nul terminated CString analog for Windows wchar_t* (LPWSTR)?
7
3599
March 25, 2019