&str to std::ffi::CStr
⚓ Rust 📅 2026-04-30 👤 surdeus 👁️ 1Hello,
I would like to know how to convert a &str to a std::ffi::CStr (not std::ffi::CString) ?
Thank you very much in advance for any help.
7 posts - 5 participants
🏷️ Rust_feedHello,
I would like to know how to convert a &str to a std::ffi::CStr (not std::ffi::CString) ?
Thank you very much in advance for any help.
7 posts - 5 participants
🏷️ Rust_feed