about summary refs log tree commit diff
path: root/library/std/src/lib.rs
diff options
context:
space:
mode:
authorJosh Triplett <josh@joshtriplett.org>2022-07-15 03:10:35 -0700
committerJosh Triplett <josh@joshtriplett.org>2022-07-15 03:10:35 -0700
commitd6b7480c2a086d9284cfd4ed3f3e3612880a75d7 (patch)
treec1f2b79c6238ac28ca97480c5044ed6a9daa5408 /library/std/src/lib.rs
parent522abf6d88a45f9f49a1b2217426eef1c3a09b52 (diff)
downloadrust-d6b7480c2a086d9284cfd4ed3f3e3612880a75d7.tar.gz
rust-d6b7480c2a086d9284cfd4ed3f3e3612880a75d7.zip
Stabilize `core::ffi::CStr`, `alloc::ffi::CString`, and friends
Stabilize the `core_c_str` and `alloc_c_string` feature gates.

Change `std::ffi` to re-export these types rather than creating type
aliases, since they now have matching stability.
Diffstat (limited to 'library/std/src/lib.rs')
-rw-r--r--library/std/src/lib.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/library/std/src/lib.rs b/library/std/src/lib.rs
index 8fbc5e27d02..ab50845e2b2 100644
--- a/library/std/src/lib.rs
+++ b/library/std/src/lib.rs
@@ -264,7 +264,6 @@
 #![feature(atomic_mut_ptr)]
 #![feature(char_error_internals)]
 #![feature(char_internals)]
-#![feature(core_c_str)]
 #![feature(core_intrinsics)]
 #![feature(cstr_from_bytes_until_nul)]
 #![feature(cstr_internals)]
@@ -297,8 +296,6 @@
 //
 // Library features (alloc):
 #![feature(alloc_layout_extra)]
-#![feature(alloc_c_string)]
-#![feature(alloc_ffi)]
 #![feature(allocator_api)]
 #![feature(get_mut_unchecked)]
 #![feature(map_try_insert)]