Feature gate: #![feature(core_c_str)] and #![feature(alloc_c_string)]
This is a tracking issue for the availability of CStr in core and CString in alloc.
Public API
// core::ffi
pub struct CStr;
pub struct FromBytesWithNulError;
// alloc::ffi
pub struct CString;
pub struct NulError;
pub struct FromVecWithNulError;
pub struct IntoStringError;
Steps / History
Feature gate:
#![feature(core_c_str)]and#![feature(alloc_c_string)]This is a tracking issue for the availability of
CStrin core andCStringin alloc.Public API
Steps / History
CStrto libcore, andCStringto liballoc #94079