Closed
Description
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
- Implementation: library: Move
CStr
to libcore, andCString
to liballoc #94079 - Final comment period (FCP)
- Stabilization PR